Some sound issues... 😬

#1

It’s still me, this time it’s about Sound. :sweat_smile:

  • SoundChannel can’t be controlled immediately. For example, the actual effect of the following code is that sound still plays in the background.
    sound.play().stop();
  • The interval duration between repeated sounds is longer.
    sound.play(0, 100);
  • Sometimes the sound is intermittent and the position of SoundChannel instance is inaccurate.
0 Likes

#2

It looks like play().stop() is calling howl.play() then howl.stop() in Howler.js (HTML5 target)

Repeating the sound appears to also call howl.stop() then howl.play() immediately

We also use howl.seek() in order to get the current time

0 Likes