+ 2
I found on stackoverflow
https://stackoverflow.com/questions/879152/how-do-i-make-javascript-beep
There are multiple answers listed on that page, don't just read the top answer.
"You can now use base64 files to produce sounds when imported as data URI. The solution is almost the same as the previous ones, except you do not need to import an external audio file."
Try here:
http://jsfiddle.net/7EAgz/
Also another possible option may be window.AudioContext
http://jsbin.com/tupoyi/4/edit?html,js,output



