Skip to main content

Module dsp

Module dsp 

Source

Structs§

Adsr
BiquadCoeffs
BiquadState
CompressorParams
Xorshift32

Enums§

FilterKind
The four biquad topologies this synth implements — deliberately just these four (deliverable #2’s list), no shelving/peaking EQ.
OscKind
Oscillator waveform a super::voices::Voice selects — the sine/ square/saw/triangle quartet, plus noise for a non-tonal voice (hats, snares). Lives here rather than in voices.rs because it is exactly the vocabulary sine/square/saw/triangle/Xorshift32 above already speak.

Constants§

LIMITER_CEILING_DB

Functions§

apply_compressor
apply_limiter
saw
sine
square
triangle