Skip to content

Instantly share code, notes, and snippets.

@evilnapsis
Created October 2, 2013 02:32
Show Gist options
  • Save evilnapsis/6788323 to your computer and use it in GitHub Desktop.
Save evilnapsis/6788323 to your computer and use it in GitHub Desktop.
Hacer un sonido con #javascript
var context = new webkitAudioContext();
var sinewave = context.createOscillator();
sinewave.connect(context.destination);
sinewave.noteOn(0); // wait a moment before the next line
sinewave.noteOff(0);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment