Better than expected! I've never finger drummed anywhere and got immediate VISUAL feedback. Usually I get an aural feedback in the form of "STOP THAT TAPPING".
Why don't you try to contribute by adding this kind of dance ? Could be challenging but really fun ! (Check out the "Contributing" part README, adding a dance should be easy)
bookmarked the README to look at later. challenging part would be a polyfill using snap.svg or something like that for browsers that dont support otvar well (basically all of them except chrome canary and the webkit nightly)
The other answer show exactly the good code lines.
To describe it fast : I keep an history of frequency (size customable) and compare the subscribed frequency range to its relative history max / min value. I get a percentage out of it that i give to the dance function associated to this specific class.
Sorry my bad didn't google it properly first, not a spelling nazi - it just makes my brain hurt to look at it.
js library names has become like domains now - everything already taken, boing.js, bounce.js, pulse.js, throb.js, even wubwub.js - hey how about palp.js? meh...no rythm.js is better :) there were too many haches in that word anyway.