diff --git a/examples/polysynth/src/dsp.rs b/examples/polysynth/src/dsp.rs index 1542912..62f7050 100644 --- a/examples/polysynth/src/dsp.rs +++ b/examples/polysynth/src/dsp.rs @@ -422,7 +422,7 @@ impl FilterImpl { } FilterType::Svf => Self::Svf( svf_clipper(), - Svf::new(samplerate, cutoff, T::one() - resonance), + Svf::new(samplerate, cutoff, T::one() - resonance).with_saturator(Sinh), ), FilterType::Digital => Self::Biquad( Biquad::lowpass(cutoff / samplerate, T::one()) @@ -549,7 +549,7 @@ impl Filter { } FilterType::Svf if !matches!(self.fimpl, FilterImpl::Svf(..)) => FilterImpl::Svf( svf_clipper(), - Svf::new(self.samplerate, cutoff, T::one() - resonance), + Svf::new(self.samplerate, cutoff, T::one() - resonance).with_saturator(Sinh), ), FilterType::Digital if !matches!(self.fimpl, FilterImpl::Biquad(..)) => { let resonance =