beat beat js

A song beat detector for javascript

// Install with NPM
> npm i beat-beat-js


// Load a song and play it
import BeatBeat from "beat-beat-js"

const sound = new BeatBeat("file.mp3")
await sound.load()
sound.play(() => {
// The callback will execute at every beat
})
// Select an example (use headphones!)
Examples: InkPlant
// Other useful links
Links: View on GitHub Report an issue