Expand description
Reusable pure Rust DSP processors for the SIM audio graph.
Structs§
- AllPass
Filter - A Schroeder all-pass filter
Processorwith per-channel delay lines. - Audio
DspLib - Host-registered lib exporting the reusable DSP processor cards, built on the
shared
SurfacePackLibsubstrate. - Biquad
Filter - A per-channel RBJ biquad filter
Processor. - Chorus
- A chorus
Processorbuilt on a modulated delay. - Comb
Filter - A feedback comb filter
Processorbuilt on a delay line. - Compressor
- A per-channel feed-forward compressor
Processor. - DcBlocker
- A
Processorthat removes DC offset with a per-channel one-pole high-pass. - Delay
Line - A circular delay buffer with fractional, linearly interpolated reads.
- Delay
Processor - A per-channel delay
Processorwith feedback and dry/wet mix. - DspConfig
Descriptor - Citizen descriptor for a DSP processor configuration: a kind name plus a
list of named
f64parameters. - Dynamics
Envelope - A peak envelope follower with separate attack and release time constants.
- Flanger
- A flanger
Processorbuilt on a feedback-modulated delay. - Fractional
Delay - A fully wet fractional delay
ProcessorwrappingDelayProcessor. - Gain
- A
Processorthat scales every channel by a fixed linear gain. - Gate
- A per-channel noise gate
Processor. - Golden
Fixture - A deterministic input/expected-output pair for regression-testing a
Processoroffline. - Limiter
- A brick-wall limiter
Processorbuilt on a fast, high-ratio compressor. - Modulated
Delay Processor - An LFO-modulated delay
Processorunderpinning chorus, flanger, and vibrato effects. - OnePole
Filter - A per-channel one-pole low-/high-pass filter
Processor. - Oversampling
Wrapper - A
Processorthat runs aNonlinearSampleProcessorat an integer oversampling factor, interpolating each input across the oversampled steps. - Pan
- A
Processorapplying equal-power stereo panning. - Smooth
Value - A linearly ramped scalar that glides from its current value to a target over a fixed number of samples.
- Smoothed
Gain - A
Processorapplying a click-free gain that ramps toward parameter-set targets received as block events. - Soft
Clipper - A
Processorsoft-clipping via a tanhWaveshaper. - State
Variable Filter - A per-channel zero-delay-feedback state-variable filter
Processor. - Vibrato
- A vibrato
Processor(fully wet modulated delay). - Waveshaper
- A
Processorapplying a nonlinear waveshaping curve with drive and output gain.
Enums§
- Biquad
Kind - Response type of a
BiquadFilter. - OnePole
Mode - Mode of a
OnePoleFilter. - State
Variable Mode - Output tap selected from a
StateVariableFilter. - Waveshape
- Nonlinear transfer curve used by
Waveshaper.
Statics§
- RECIPES
- Cookbook recipes for this lib, embedded at build time.
Traits§
- Nonlinear
Sample Processor - A per-sample nonlinearity that can be wrapped by
OversamplingWrapper.
Functions§
- audio_
dsp_ symbols - Returns the namespaced symbols for every DSP processor card this lib exports.
- dsp_
config_ class_ symbol - Returns the class symbol under which DSP configs register as citizens.
- install_
audio_ dsp_ lib - Installs
AudioDspLibinto the context once, idempotently. - r30_
delay_ golden_ fixture - Returns the R30 delay golden fixture (a two-sample impulse delay).
- r30_
gain_ golden_ fixture - Returns the R30 gain golden fixture (a 0.25x gain reference).
- run_
offline - Prepares and runs
processorover a fixture’s input, returning the rendered output lanes for comparison againstGoldenFixture::expected.
Type Aliases§
- Oversampled
Soft Clipper - An oversampled tanh soft clipper, the default
OversamplingWrapper.