Skip to main content

Module node

Module node 

Source
Expand description

SamplerNode — integrates the sampler into the AetherDSP graph.

RT SAFETY: The instrument slot uses ArcSwap instead of Mutex. The control thread swaps in a new Arc atomically (single atomic store). The RT thread loads the current Arc with a single atomic read — no lock, no blocking, no priority inversion.

The MIDI queue still uses Mutex because it is drained at the start of each process() call (not held across the render loop), so contention is bounded and brief.

Structs§

SamplerNode
A polyphonic sampler node.