Audio latency
The values below apply to the PreSonus Quantum ES 2 (USB), on a Pi 500, in loopback (Main 1 out → input 1): not external analog latency, and not valid for other interfaces.
1.241 msdirect round trip (p50), 192 kHz, guard 0, user-space rig, empty chain with no DSP; indication: 17 clicks per step, long run still to be done
2 × 30 minno drops, errors or underruns
~68 µsNAM A2 Full per 64-sample block, on the Pi 500
From the start to today
| Milestone | Round trip | How |
|---|---|---|
| Original (2.5 ms lead) | 3.98 ms | user program |
| Late mode | 2.08 ms | user program |
| No load, scheduler fixed | 1.71 ms | user program |
| Under load | 1.56 ms | inside the audio thread |
| User-space rig, best current value | 1.241 ms | 192 kHz, guard 0, empty chain; indication: 17 clicks per step, long run still to be done |
The rows use different measurement points and loads: "No load" is from the user program and "Under load" is inside the audio thread (the 0.15 ms difference between them cannot be attributed to the instrument alone) and the last is from the user-space rig, direct p50, empty chain. Details in AUDIO.md (docs are in Portuguese).
30-minute test
| Criterion | Result |
|---|---|
| Lead | 125 µs (1 packet) |
| Median round trip | 1.69 to 1.81 ms |
| Jitter per minute within a run (aligned click) | 3 to 6 µs; unaligned, 116 µs |
| Plateau between runs | 1510 to 1763 µs, in 125 µs steps |
| Drops, errors and underruns | 0, in two runs |
| P99.9 | 2000 µs: at the 2.0 ms limit, not below |
What is not measured yet
| Item | Status |
|---|---|
| Latency with NAM and IR in the chain | not measured |
| External analog latency | not measured |
| Video and robotics | not measured |
Bring your own NAM model and IR: LeanOS ships none, and each one's license belongs to whoever made it.