Changing Speed of Audio Using the Web Audio API Without Changing Pitch
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: Is it possible to change the tempo of audio (in the form of loaded MP3 files) without changing the pitch using the Web Audio API? I'm aware of the playbackRate property on the AudioBufferSourceNode, but that also changes pitch. I'm also aware of the playbackRate property for <audio> and <video> elements, but I need to use the Web Audio API. I'm very new to the Web Audio API. Is there anything I can do? 回答1: There is a way to do this - its called granular synthesis (link points to a pd theory link, but the theory is universal). The idea of