Skip to content

Commit d441544

Browse files
committed
prevent filter from exploding
1 parent cb37265 commit d441544

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/faust/main.dsp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ with
5757
{
5858
cutoff = i_cv_cutoff * 1.5 - 0.5 :
5959
rack.i_cv_pitch2freq;
60-
cutoff_limited = min(cutoff , ma.SR / 2);
60+
cutoff_limited = max(10 , min(cutoff , 20000));
6161
resonance = max(i_cv_resonance * 5 , 0.1);
6262
gain = 1;
6363

0 commit comments

Comments
 (0)