tap-tempo
v0.1.1
Published
Estimates BPM from tap events
Downloads
37
Readme
tap-tempo
Estimates BPM from tap events.
Install
$ npm install tap-tempo
Example
var tapTempo = require('tap-tempo')()
// simulate tap at 120bpm
setTimeout(function(){
tapTempo.tap()
}, 500)
tapTempo.on('tempo', function(tempo){
console.log('estimated tempo:', tempo)
})