LAB.Pocketaudio labTEST TOOL
Idle · plug in headphones before you turn monitoring up

1 · Input and output

Checking output selection support…

Capture

Stop and start again after changing any of these. Device names appear once the mic is allowed.

2 · Live monitoring

Source → destination. The smallest browser graph; no custom processing.
Measured round trip (median of 5 clicks)—Plays 5 short clicks and listens for them on the input. Let the input hear the output: a cable from the interface output to its input (turn the input gain down), or the phone speaker next to its mic, or a headphone cup against the mic. Take headphones off your head first. Monitoring is muted while it runs.
0%
Headphones only while monitoring: with speakers it can howl. Runs record fine while muted.
Base output—
Device output—
Output sum*—
Sample rate—
Capture hint*—
Worklet block—
Input level—
State / underruns—

*What the browser reports, not measured mic-to-headphone delay. The worklet block is a processing size, not the whole added delay.

WASM: checkingSecure context: checkingAudioWorklet: checking

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

TimeInputOutputPathRateBase msOutput msSum msCapture msLevel dBFSMax DSP µs*UnderrunsRound trip msPhysical 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.

Ready.

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.

Press HUM or BEATBOX. For better drums, CALIBRATE once first: 4 kicks on the first bar's clicks, 4 snares on the second, 4 hats on the third.

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.

Key·
Chord·
Confidence·
Bar·
The first bar is just the beat. Play something and the band comes in.

How to compare

  1. Use HTTPS or localhost, allow the mic and pick the built-in microphone.
  2. Headphones on, monitor volume at zero unless you want to hear yourself.
  3. Record a run for Direct, Native, Worklet JS and Worklet WASM.
  4. Switch to the USB interface and repeat.
  5. Measure the round trip with a loopback (section 2) for each input and output.
  6. 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.