1.1.2 • Published 5 years ago
metro-l v1.1.2
Web Audio Metronome
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
<script src="//cwilso.github.io/AudioContext-MonkeyPatch/AudioContextMonkeyPatch.js"></script>