Lab 02

Virtual BDK speaker

This is the integer-only DSP from my speaker firmware: 3-band EQ, volume-based bass compensation, bass boost, the 2-way crossover with 20 ms crossfades, volume ramps and the soft limiter, all in fixed-point with no floating point or heap. Next to it are all 22 LED effects from theBDK app's firmware renderer. Both are compiled from C++ to WebAssembly. The LEDs react through the firmware's own Goertzel analysis, AGC and beat detector, exactly like the real box.

Spectrumbeat 0

Input

Synthesized on your device. Mic audio is analysed only, never played back or sent anywhere.

EQ · phone range ±12 dB

LED effect · 22 from the firmware

Firmware analysis

30 Hz
60 Hz
100 Hz
Peak B
Peak M
Peak H

Goertzel bins (beat detection) and the fast peak meter (BLE level display), in dB.

Frequency response · measured through the firmware

impulse → dsp.wasm → FFT, re-measured on every change
woofer feed (L)tweeter feed (R)acoustic sum

Use these settings