bpm-finder-app
v1.0.0
Published
High-precision TypeScript & JavaScript SDK for audio tempo detection, Tap BPM counting, delay note divisions, and reverb pre-delay formulas. Powered by the BPM Finder App.
Maintainers
Readme
BPM Finder - Official JavaScript & TypeScript SDK
High-precision audio tempo calculation, Tap BPM interval analysis, delay note division math, and reverb pre-delay formulas for Node.js and browser applications.
Powered by the BPM Finder App.
Features
- Tap BPM Analysis: Calculate exact beats per minute from user tap intervals.
- Delay Time Calculator: Compute quarter, 8th, 16th, dotted, and triplet delay times in milliseconds.
- Reverb Pre-Delay Recommendations: Get tight, natural, and spacious pre-delay settings synchronized to song tempo.
Installation
npm install bpm-finder-appQuick Start Guide
const {
calculateBpmFromIntervals,
calculateDelayTimes,
calculateReverbPredelay
} = require('bpm-finder');
// 1. Calculate BPM from tap timestamps
const timestamps = [1000, 1500, 2000, 2500]; // 120 BPM tap tempo
const bpm = calculateBpmFromIntervals(timestamps);
console.log('Detected BPM:', bpm); // 120
// 2. Calculate delay times in milliseconds
const delayTimes = calculateDelayTimes(120);
console.log(delayTimes);
// { quarterNoteMs: 500, eighthNoteMs: 250, sixteenthNoteMs: 125, ... }
// 3. Calculate recommended reverb pre-delay
const predelay = calculateReverbPredelay(120);
console.log(predelay);
// { tightPredelayMs: 62.5, naturalPredelayMs: 125, spaciousPredelayMs: 250 }Official Web Tool
For instant online audio file tempo analysis, live microphone beat detection, and visual metronomes, visit the official BPM Finder App.
