Am I supposed to call other methods before or after calling play()? #1562
-
It seems like a lot of the examples first call
would usages past the first loop actually apply to the previous instance of the sound rather than the one I invoke in the current iteration? How does it work on first loop, is it special behaviour to preset the values before any sound instance is |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Yes, you can call those before and howler will queue those for you. However, if you were playing multiple sounds, calling them before without a sound ID is going to affect all current and future sounds from that howl instance, rather than just the sound you are about to play. So, if you want it to affect the sound you are about to play, you need to pass the id and call them after you call play. |
Beta Was this translation helpful? Give feedback.
Yes, you can call those before and howler will queue those for you. However, if you were playing multiple sounds, calling them before without a sound ID is going to affect all current and future sounds from that howl instance, rather than just the sound you are about to play. So, if you want it to affect the sound you are about to play, you need to pass the id and call them after you call play.