Current audio engine doesn’t support speed changing of playing sounds. My workaround is to use pre-generated sounds with different speeds and play them when needed.
This is what i do in general:
- Play in loop sound1.
- Stop sound1, play in loop sound2.
Unfortunately, playing sounds in loops causes “crackles/pops”. Additionally, when I stop current sound and play another one I hear same crackles.
Any idea? I see that this is a known issue also in other engines, but I can’t find the solution. I have already tried to set the sounds start/end to 0 in audio editor.
I am using new AudioEngine and cocos v3.15.