Closed Latnok closed 8 years ago
Can you give us a bit more info about the project you are using it in.
I just tried it on the demo here, open the console and write the folllowing code winSound.play()
to play the win sound. Then keep on executing the code and you'll see it won't cause the sound effect to play from the beginning again.
Which browser are you using?
Chrome, mozilla
a = new buzz.sound(['/snd/money.wav', '/snd/money.mp3'], {preload: true})
a.play() ~0.3 sec a.play() ~0.1 sec sound stops and paly again from begin of file a.play() ~0.2 sec sound stops and paly again from begin of file
ever play() restarts play the sound maybe wait for previos play ended?