This is a minimalistic example using WebAudio. The audio source is directly linked to the output.

The code (and especially shared.js which is an exact copy) is heavily inspired by webaudioapi.com, and the music sample comes from this website too.