Plays a sound from the bank, optionally looping it. If loop is false, this
returns a promise that resolves when the sound finishes playing. Otherwise,
the promise it returns resolves immediately. If there is an error with
playback (e.g. the sound requested doesn't exist in the bank), this throws an
error.
Plays a sound from the bank, optionally looping it. If
loop
is false, this returns a promise that resolves when the sound finishes playing. Otherwise, the promise it returns resolves immediately. If there is an error with playback (e.g. the sound requested doesn't exist in the bank), this throws an error.