Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

    tap-tempopublic

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

    install

    npm i tap-tempo

    Downloadsweekly downloads

    46

    version

    0.1.1

    license

    MIT

    repository

    githubgithub

    last publish

    collaborators

    • avatar