← Learn · Proofs & Hardware
Mathematically Proven DSP & Hardware Synth Factory
Perception Studio treats audio synthesis as an exact engineering discipline: unlimited routing in software, machine-checked DSP proofs under the hood, and a direct path from desktop patch to standalone hardware.
Zero hidden processing: Every gain, filter, EQ, compressor, send, and limiter is a visible node. No secret clipper or auto-gain ever colours your patch.
Built with Osprey: deterministic audio & formal proofs
Perception Studio is written in Osprey, compiled ahead of time to native LLVM machine code. For real-time audio, Osprey gives two decisive advantages: no garbage collector pauses (deterministic memory management with ARC and compile-time ownership) and first-class mathematical proofs checked directly against the shipped DSP formulas.
Machine-checked synthesis proofs
Core DSP formulas are formally verified in Lean with zero axioms and replayed in CI.
For example, allpassMagnitude proves that our first-order allpass disperser
preserves exact unit gain at every frequency on the unit circle:
Real coefficient ,
unit-circle delay
— proved by Synthesis.allpassMagnitude with zero axioms.
Mutating any proved formula breaks its proof immediately:
| Theorem | Guarantee |
|---|---|
travelingWavePropagation | Waveguide delay-line energy and propagation stay exact. |
allpassMagnitude | Allpass dispersion preserves unit magnitude across frequencies. |
weightedOverlapAdd | Spectral STFT frames reconstruct cleanly without window ripple. |
antiderivativeAverage | Nonlinear waveshapers suppress aliasing via ADAA bounds. |
radixTwoSplit | FFT butterfly decomposition matches exact DFT bins. |
macroCurveMonotone | Hardware and UI macro exponents (0.25–4.0) stay strictly in range. |
Hardware synth factory
Perception is the factory; hardware boxes are typed device profiles. A 4-knob pedal, a 16-knob desktop synth, or the reference Raspberry Pi 5 + Perception HAT enclosure all run the exact same DSP engine:
- Profile-driven faces: Perception reads a box's physical controls over the link and binds your patch macros directly to its encoders and switches.
- Real-time Linux audio: Dedicated isolated CPU core,
SCHED_FIFOaudio thread, locked memory, direct ALSA I/O at 64-frame periods (< 10 ms bound), and a hardware watchdog with relay bypass.
Standalone DAW & VST3 plug-in
Run Perception standalone for full arrangement and bus routing, or drop it into Ableton, Reaper, Bitwig, Cubase, or Logic as a VST3 plug-in. Inside any patch, third-party VST3 instruments and effects run in isolated worker processes so a crashing plug-in never takes down your session.
One human-readable JSON patch & song file
{
"sendId": 1,
"source": 3,
"outlet": 0,
"bus": "undertow",
"level": 0.19,
"enabled": true
}