Expand description
Pure-Rust DSP primitives for Reflow audio/signal processing actors.
This crate is Wasm-safe — no system dependencies, no threads, no filesystem.
All math is f32 for samples, f64 for coefficient precision.
§Features
simd— Enables hand-tuned SIMD paths:- aarch64: NEON for sample conversion, window apply, stereo interleave
- x86_64: SSE2 for sample conversion, window apply
§Modules
biquad— Second-order IIR filters (LPF, HPF, BPF, notch, EQ, shelves)envelope— Envelope detection and dynamics processing (compressor, gate)db— Decibel ↔ linear conversionsample— Sample format conversion (i16/i32/f32) and interleavingwindow— Window functions (Hann, Hamming, Blackman, etc.)ring_buffer— Fixed-capacity ring buffer for delay lines and windowed processingfft— STFT processor with overlap-add (wrapsrustfft/realfft)
Re-exports§
Modules§
- biquad
- Biquad (second-order IIR) filter.
- db
- Decibel ↔ linear conversion utilities.
- envelope
- Envelope detector / follower.
- fft
- FFT / IFFT wrapper over
realfftfor real-valued audio signals. - ring_
buffer - Fixed-size ring buffer for overlap-add, delay lines, and windowed processing.
- sample
- Sample format conversion and interleaving utilities.
- window
- Window functions for spectral analysis.