This application shows how to use a collaboration between a setTimeout scheduler and the Web Audio scheduler to properly implement rock-solid timing for audio applications.
Transferring Metronome to modular js package
Installation:
npm install metro-l
Include it by:
``
var metronome= require('metro-l');
var metroInstance= new metronome();
console.log('metronome', metroInstance.init());
`
Add this file to root:
https://github.com/cwilso/metronome/blob/master/js/metronomeworker.js
Include this file in the link header:
http://cwilso.github.io/AudioContext-MonkeyPatch/AudioContextMonkeyPatch.js
`