CreateJS / SoundJS

A Javascript library for working with Audio. It provides a consistent API for loading and playing audio on different browsers and devices. Currently supports WebAudio, HTML5 Audio, Cordova / PhoneGap, and a Flash fallback.
http://createjs.com/
MIT License
4.44k stars 835 forks source link

soundjs play mp3, When playing at a higher speed, the pitch becomes higher #330

Open wdydxf opened 1 year ago

wdydxf commented 1 year ago

The soundjs plugin is used in the project. When the mp3 is played in fast forward, the pitch becomes higher。

Is it possible to not raise the pitch?

demo:

https://codesandbox.io/s/fervent-grass-g9j248?file=/index.html

laura9869 commented 7 months ago

The SoundJS plugin in the project causes the pitch to increase when playing an audio file in fast forward. To prevent this, we can explore options like time-stretching or adjusting pitch shift settings to maintain the original tonal characteristics of the audio. By implementing these measures, we ensure that the pitch remains constant regardless of the playback speed, providing a better user experience. Additionally, integrating the sound of text feature can further enhance the accessibility and usability of the audio playback.