File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -422,7 +422,7 @@ impl<T: Scalar> FilterImpl<T> {
422422 }
423423 FilterType :: Svf => Self :: Svf (
424424 svf_clipper ( ) ,
425- Svf :: new ( samplerate, cutoff, T :: one ( ) - resonance) ,
425+ Svf :: new ( samplerate, cutoff, T :: one ( ) - resonance) . with_saturator ( Sinh ) ,
426426 ) ,
427427 FilterType :: Digital => Self :: Biquad (
428428 Biquad :: lowpass ( cutoff / samplerate, T :: one ( ) )
@@ -549,7 +549,7 @@ impl<T: Scalar> Filter<T> {
549549 }
550550 FilterType :: Svf if !matches ! ( self . fimpl, FilterImpl :: Svf ( ..) ) => FilterImpl :: Svf (
551551 svf_clipper ( ) ,
552- Svf :: new ( self . samplerate , cutoff, T :: one ( ) - resonance) ,
552+ Svf :: new ( self . samplerate , cutoff, T :: one ( ) - resonance) . with_saturator ( Sinh ) ,
553553 ) ,
554554 FilterType :: Digital if !matches ! ( self . fimpl, FilterImpl :: Biquad ( ..) ) => {
555555 let resonance =
You can’t perform that action at this time.
0 commit comments