paste this code in chrome console (start a sound)
var context = new webkitAudioContext();
var sinewave = context.createOscillator();
sinewave.connect(context.destination);
sinewave.noteOn(0);
off sound
sinewave.noteOff(0);
more example watch this vedio
http://ontwik.com/javascript/stuart-memo-javascript-is-the-new-punk-rock-jsconf-eu-2012/
No comments:
Post a Comment