I want to play multiple sound files on my webpage based on queue order, example I have queue order like 1.wav 2.wav 3.wav, then I have my database to store the voice for each word 0-9.
I’m trying to create simple script to play sound in order on a single button click.
PLAY->1.wav -> END:PLAY-> 2.wav -> END:PLAY-> 3.wav -> END
I herd you liek recursion!
This gets an array of audio objects and actually impements the queue
So you actually do something like this: