Precision Studio Hardware, Rebuilt for the Browser
Online tap tempo counters have historically been weighed down by bloated tracking scripts, blinding white screens, intrusive banner ads, and sluggish timer loops that drift off-beat.BPM Tap Counter was engineered from the ground up as a zero-bloat, studio-grade hardware instrument for audio engineers, music producers, DJs, and live musicians.
Zero-Latency Web Audio
Traditional web metronomes load remote MP3 or WAV audio clips over the network, causing audible lag and browser audio queue stutters. We synthesize instant sine-wave metronome blips directly inside the Web Audio API audio graph (800Hz primary accent, 400Hz subdivisions) with sub-millisecond exponential gain decay.
Rolling Median Buffer
Human fingers naturally introduce micro-jitter between individual taps. Our algorithm computes inter-onset intervals (IOI) inside a sliding circular buffer. Statistical outlier rejection discards accidental double-taps or pauses, calculating a rock-solid, jitter-free BPM readout in as few as three taps.
Obsidian Studio Rack UI
Inspired by Teenage Engineering, classic SSL rack consoles, and analog master clocks. Deep obsidian canvases (#090A0F), hairline borders (#1F2433), and tabular monospace numerals prevent layout jumping during rapid tapping. High-contrast phosphor emerald accents remain crisp in dark DJ booths and dim mixing stages.
How the Buffer Resolves Human Drift
When a musician taps their finger, every tap timestamp t_k is captured using high-resolution hardware timestamps (performance.now()). The delta interval between consecutive taps is:
Raw deltas are sorted and filtered to eliminate extreme tempo spikes before computing the harmonized tempo:
| PARAMETER | SPECIFICATION | METHODOLOGY / HARDWARE IMPLEMENTATION |
|---|---|---|
| Timer Resolution | ±0.1 ms | W3C High Resolution Time API (performance.now) |
| Audio Synthesis | Web Audio API | OscillatorNode sine pulse @ 800Hz/400Hz, exponential decay |
| Buffer Window | 16-Tap Circular | First-in, first-out sliding interval array with median averaging |
| Input Triggers | Touch, Mouse, Key | PointerEvents with passive touch listeners + Spacebar keydown |
| Haptic Feedback | 12ms Impulse | navigator.vibrate API (supported mobile devices) |
| Privacy Footprint | Zero Tracking | No cookies, no local database, no telemetry, no ad scripts |