Javascript code for a sine wave oscillator using the web audio API – embedded in this post.
This also works in mobile Safari in iOS 7. If the “stop” button doesn’t work, try reloading the page in the browser.”
play
stop
Warning: The WordPress visual editor will break this code.