1 · Input and output
Capture
2 · Live monitoring
*What the browser reports, not measured mic-to-headphone delay. The worklet block is a processing size, not the whole added delay.
3 · Pedals
Choose Pedalboard as the processing path, start, put the headphones on and raise the monitor volume. Guitar in the instrument jack: pick its input channel (1 on a Scarlett Solo 4th Gen). Knobs work while playing.
DRIVE
DELAY
REVERB
Drive is a tanh clipper with a low-pass tone (oversampling is the only part that adds delay: measured above); the delay has feedback; the reverb is a generated noise tail in a ConvolverNode. Delay and reverb add their echoes after the dry sound, never delay it.
4 · Results
Record a run per path with the same input and output, then repeat with the USB interface. Browser estimates cover the output side only; MEASURE ROUND TRIP is the real number (what you hear when monitoring, about this much late).
Latency per run (ms) · green = measured round trip · grey = browser estimate
Input level (dBFS) · this session
| Time | Input | Output | Path | Rate | Base ms | Output ms | Sum ms | Capture ms | Level dBFS | Max DSP µs* | Underruns | Round trip ms | Physical ms | |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| No runs yet | ||||||||||||||
*Only where the worklet has performance.now() (not Chrome): it is processing time, not audio delay. Missing values show as —.
5 · Physical measurement
The real mic-to-headphone delay needs a reference sound and a two-channel recording (or an oscilloscope). Measure it outside, then attach it to a run here; it goes into the export.
The chirps are a test sound, not an automatic measurement. Start quiet. For a cable loopback, lower the level first; never connect a speaker amplifier output to an audio input.
6 · Diagnostics
No audio session yet.
Everything runs in this page: browser audio and a small embedded WebAssembly module, no network. Choosing the output isn't possible in every browser (Safari, Chrome on Android); the system default always works.
7 · Mouth to MIDI
Hum a melody or beatbox a groove. The lab turns it into notes and drum pads (not audio slices) that you can play back and save as a MIDI file. Use headphones: a count-in click plays, then you go. It uses the microphone chosen in section 1, with echo cancellation, noise suppression and automatic gain forced off.
8 · Live jam
A band that follows what you play. It listens for notes, works out the key, and changes chord on bar lines, a bar behind you, like a real band feeling its way. When it is unsure it holds the chord and thins out to bass and drums. Use headphones, or the band bleeds into the mic.
How to compare
- Use HTTPS or localhost, allow the mic and pick the built-in microphone.
- Headphones on, monitor volume at zero unless you want to hear yourself.
- Record a run for Direct, Native, Worklet JS and Worklet WASM.
- Switch to the USB interface and repeat.
- Measure the round trip with a loopback (section 2) for each input and output.
- Export the JSON.
JS and WASM do the same gain, so they compare processing speed, not end-to-end delay. Runs only compare fairly with the same output route and capture settings.