samedi 12 décembre 2015

how to play a specific sound between every other random sound in an array

Not sure I worded that correctly, but I have an array of sounds that I have coded so that every time the spacebar is pressed, a random sound from the array plays. I would like to make it so that between each random sound that is played from my array, a specific sound is played, sort of like a buffer.

I am using SoundJS to load and play the sounds. any help would be beneficial :)!




Aucun commentaire:

Enregistrer un commentaire