Expand description
§Rill Core DSP
Core DSP abstractions and algorithms for the Rill ecosystem.
§Modules
algorithm— DSP algorithm trait (Algorithm,ParameterizedAlgorithm) and categoriescontext— DSP context with sample rate, block size, and time infofilters— Filter trait and types (Biquad coefficients, MoogLadder, etc.)generators— signal generators (WavetableOscillator, SamplePlayer, LFO, Envelope, Noise)mapping— control mapping strategiesmath— extra math utilitiessmoothing— parameter smoothing (ParamSmoother)vector— SIMD vector abstractionsmacros— macros for algorithm-to-node conversion and prelude
§Features
- Full type parameterization (f32/f64) via
Transcendental - RT-safe buffers with const generics
- SIMD acceleration behind
simdfeature flag
Re-exports§
pub use context::DspContext;pub use filters::Filter;pub use filters::FilterParams;pub use filters::FilterType;pub use generators::EnvelopeGenerator;pub use generators::Generator;pub use generators::InterpolatedReader;pub use generators::LoopMode;pub use generators::NoiseGenerator;pub use generators::Resampler;pub use generators::SamplePlayer;pub use generators::WavetableOscillator;pub use generators::LFO;
Modules§
- algorithm
- DSP-specific parameter types and re-exports.
- analyzer
- Traits for signal analyzers
- context
- DSP algorithm execution context
- effect
- Traits for effects
- filters
- Basic filters for audio processing
- generators
- Signal generators
- macros
- Macros for creating DSP algorithms
- mapping
- ControlMapper — maps normalized [0, 1] control values to parameter ranges.
- math
- Mathematical abstractions and utilities for DSP
- prelude
- Prelude for convenient imports
- smoothing
- ParamSmoother — one-pole smoother that implements
Algorithm<T>. - vector
- Vector operations for DSP
Macros§
- effect_
algorithm - Macro for creating an effect with dry/wet mix
- filter_
algorithm - Macro for creating a filter with coefficients
- generator_
algorithm - Macro for creating a generator
- parameterized_
algorithm - Macro for creating a parameterized algorithm
- simple_
algorithm - Macro for creating a simple algorithm without parameters
Traits§
- Parameterized
Algorithm - An
Algorithmwith typed, settable parameters.