+ 1
Audio random
Plz give me advice how to do audio random generator
1 Resposta
+ 2
Use the HTML5 audio element
http://www.w3schools.com/html/html5_audio.asp
or
var audio = new Audio("pathToTheAudiofile.mp3");
audio.play();
or
See the howler library for JS
http://goldfirestudios.com/blog/104/howler.js-Modern-Web-Audio-Javascript-Library