Intended as a working example of how to bundle together the code in hayleigh-dot-dev/elm-web-audio with ports.
The glue code in elm-web-audio.js was drawn from hayleigh's elm-web-audio repo.
I removed the code comments for brevity, so if you are trying to hack on the glue code and need more information, please refer to the original.
npm install
npm start
When clicking the text, you should hear a tone play through the browser tab.
See the deployed example live here.