tap-tempo

0.1.1 • Public • Published

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)
})

Package Sidebar

Install

npm i tap-tempo

Weekly Downloads

10

Version

0.1.1

License

MIT

Last publish

Collaborators

  • mmckegg