Making sound using the Web Audio API and a canvas