Expand description
cpal output stream wiring.
8 pre-allocated track slots. Audio callback pulls stereo samples from
a FunDSP Net built once from all 8. Dormant slots are simply muted
— no reallocation, no graph hot-swap. Sample ring buffer captures
output for the TUI oscilloscope (producer-side only lock).
Structs§
- Audio
Engine - Engine
Handle - Handle the TUI keeps alive for the lifetime of the app.
Constants§
- MAX_
TRACKS - Max tracks pre-allocated. Raise = more CPU, more slots.
- SCOPE_
CAPACITY - Ring buffer of stereo samples for the oscilloscope (decimated).
- SCOPE_
DECIMATION - Keep one sample per N audio samples.
Functions§
- default_
track_ set - Default 8-track set: 3 active + 5 dormant, rooted on golden-ratio frequencies.