Built from scratch. For low latency. On a microSD.
Own kernel, not derived from Linux or BSD: the whole of LeanOS fits on a micro SD and the Pi 500 boots straight into it.
Guitar rig on a micro SD
1.241 ms round trip (indication), no DSP chain (Quantum ES 2, USB, loopback)
Build your rig →PluginsPlugins 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 →PreSonus Quantum ES 2: 1.241 ms
USB audio round trip on the Pi 500, measured by LeanOS, next to the values published by third parties for the same interface.
Same interface (PreSonus Quantum ES 2), round trip; different computers, settings and methodologies. LeanOS: direct transport, no DSP chain, user-space rig; best measured value 1.241 ms (192 kHz, guard 0 (indication)) and, at 48 kHz, 1.564 ms. LeanOS does not yet have a curve by buffer size with the chain on. Sources and methodology in the case study.
Numbers
Not measured yet: latency with NAM and IR in the chain, other interfaces, external analog latency, video and robotics.
In three steps
- Card. Build the image with the repository scripts and write it to the micro SD.
- Models. Bring your
.namand your IR, convert and copy to/dados. - Play. The
/autostartfile opensrigdirectly.
Today the card comes from scripts; there is no installer.
What is inside
Rust kernel
From boot to shell, straight on the hardware.
AudioLow-latency USB and audio
xHCI and USB Audio Class: 1.241 ms round trip (indication)
PluginsLOPS
Plugins per audio block; NAM Full ~68 µs
RigRig
Plays NAM and IR packages and boots straight into them.
EditorPluginBoard
Edits the rig on Windows; the card runs it.
Open and free
Code under the Apache License 2.0, on GitHub. Bring your own NAM models and IRs: the project ships none.
Open the repositoryWhat comes next
- DSP in stages: gain, NAM and IR, measured at each stage.
- Network update: not ready on the Pi yet.
- Video and robotics: not measured yet.