Replies: 2 comments 1 reply
-
The issue seems to lie in the audioContext manipulation that changes the volume of the different channels: if, in the above quoted code, I don't call changeChannelVolume(), changing the playback rate doesn't cause any problem. The speed example, where no audioContext, splitter or merger are created, works well with an audioRate higher than 1. Again, all of this refers to my iPhone, I don't experience any issue on my desktop browser. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Definitely an IOS issue: I couldn't reproduce it on an Android phone. Should I file a bug? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
My simple set up to let the user change the playback speed works like a charm on my computer (Chrome, Monterey, MacBook Pro), but it breaks on my mobile, when accessing my website, a Django project hosted on Heroku. The sound is fine as long as I keep a 1.00 x speed, but changing it wreaks havoc: the sound becomes choppy, glitchy, jerky. If you could help me fix this, I would be very grateful!
Reproducing the issue: On my phone, going to https://wavesurfer.xyz/examples/?webaudio.js and adding to the settings "audioRate: 2" causes the same behaviour as in my project, while everything works fine on my computer. Along the same lines, I tried audio.playbackRate = 2. That works on my computer, but causes the same issue on my cellphone.
Audio file format used: WAV, MP3, FLAC
System: Chrome or Safari, iOS 17.6.1, iPhone 12 mini
Relevant code snippets (if more is needed I'll be happy to share other parts of the code, but because the problem happens on one of the official examples, I don't think this is necessary):
Beta Was this translation helpful? Give feedback.
All reactions