An introduction to the Web Audio API basics including setting up an AudioContext and generating some sound in the browser! Repo is here for reference, with added comments and some more links to documentation: https://github.com/ianmunrobot/screencast-sources/tree/master/webAudio/Part1-AudioContext%26OscillatorNode