Guitar
Guitar rig on a micro SD
The whole of LeanOS fits on a micro SD and the Pi 500 boots straight into it. Bring your own NAM models and IRs.
See the measurement
| Milestone | Round trip |
|---|---|
| Original (2.5 ms lead) | 3.98 ms |
| Late mode | 2.08 ms |
| No load, scheduler fixed | 1.71 ms |
| Under load, inside the audio thread | 1.56 ms |
| User-space rig, best current value (192 kHz, guard 0) | 1.241 ms |
Values only with the PreSonus Quantum ES 2 (USB), on a Pi 500, in loopback (Main 1 out → input 1). This is not external analog latency and does not apply to other interfaces. Latency with NAM and IR in the chain has not been measured yet.
Understand the signal path
The program writes samples to a queue and the kernel's USB driver sends them to the interface every 125 µs. The audio thread runs alone on one core (core 3) and never sleeps; the rest of the system uses the other three.
On your computer, PluginBoard (Windows) only edits the rig and builds the package. What runs lives on the card.
Build your rig
- Bring your NAM model (
.nam) and your IR (.wav). LeanOS ships none; each one's license belongs to whoever made it. - Convert with the repository scripts:
scripts/nam2nbn.pymakes the.nbnandscripts/ir2nbi.pymakes the.nbi. - Assemble the package: a folder with
rig.txt,models/andir/(format in RIG.md (docs are in Portuguese)). - Copy it to the card at
/dados/<package>. - Boot straight into the rig: an
/autostartfile at the card root makes the Pi openriginstead of the menu.
Today the card is assembled by the repository scripts; there is no installer yet.
Your data stays with you
Models, IRs and recordings live on the card, in /dados. The Pi 500 has a validated network driver (package #0042), used by the update app to download signed updates; by project rule, nothing of yours is sent unless you turn it on. See what lives where.
Go deeper
Case study
Not done yet
- Latency with NAM and IR in the chain (today the measurement is pure audio).
- An audio demo.
- Interfaces other than the Quantum ES 2.
- An installer (today the card comes from scripts).
Build your rig
Bring your model and your IR and follow the step by step.
Open the rig guideSee also
Plugins in microseconds
NAM Full: ~68 µs per 64-sample block
Write a plugin →DevicesDedicated device, straight on the hardware
The /autostart file opens the program
Build a device →Real timeReal-time loop on a reserved core
3 to 6 µs of jitter within a run, in audio (Quantum ES 2)
See the measurements →KernelReadable kernel, boot to shell
Boot, 4 cores, SD, USB, audio and shell on the Pi 500
Read the kernel →PrivacyData only on the card
No telemetry; reports only if you send them
See what lives where →RustPi 500 drivers in Rust
Open source, Apache-2.0
Read the drivers →