Skip to content

Commit

Permalink
prevent filter from exploding
Browse files Browse the repository at this point in the history
  • Loading branch information
mzuther committed Jul 14, 2020
1 parent cb37265 commit d441544
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/faust/main.dsp
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ with
{
cutoff = i_cv_cutoff * 1.5 - 0.5 :
rack.i_cv_pitch2freq;
cutoff_limited = min(cutoff , ma.SR / 2);
cutoff_limited = max(10 , min(cutoff , 20000));
resonance = max(i_cv_resonance * 5 , 0.1);
gain = 1;

Expand Down

0 comments on commit d441544

Please sign in to comment.