Este site também está em português.Ler em português

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.

Build your rig

1.241 msdirect round trip (p50), 192 kHz, guard 0, empty chain with no DSP, PreSonus Quantum ES 2 (USB), on a Pi 500, in loopback (Main 1 out → input 1); indication: 17 clicks per step, long run still to be done
2 × 30 minwithout a single drop, error or underrun
~68 µscost of NAM A2 Full per 64-sample block on the Pi 500; 4,000-tap cabinet IR ~10 µs

See the measurement

MilestoneRound trip
Original (2.5 ms lead)3.98 ms
Late mode2.08 ms
No load, scheduler fixed1.71 ms
Under load, inside the audio thread1.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

  1. Bring your NAM model (.nam) and your IR (.wav). LeanOS ships none; each one's license belongs to whoever made it.
  2. Convert with the repository scripts: scripts/nam2nbn.py makes the .nbn and scripts/ir2nbi.py makes the .nbi.
  3. Assemble the package: a folder with rig.txt, models/ and ir/ (format in RIG.md (docs are in Portuguese)).
  4. Copy it to the card at /dados/<package>.
  5. Boot straight into the rig: an /autostart file at the card root makes the Pi open rig instead 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

PreSonus Quantum ES 2: 1.241 ms round trip (192 kHz)

Not done yet

Build your rig

Bring your model and your IR and follow the step by step.

Open the rig guide

See also