Skip to content

Commit

Permalink
Filter: Avoid clipping when operating the type 0 ("chamberlain")
Browse files Browse the repository at this point in the history
  • Loading branch information
nomadbyte committed Apr 28, 2021
1 parent 371eb89 commit 66b424b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bristol/filter.c
Original file line number Diff line number Diff line change
Expand Up @@ -849,7 +849,7 @@ static int operate(register bristolOP *operator, bristolVoice *voice,

qres = 2.0f - param->param[1].float_val * 1.97f;
cutoff = param->param[0].float_val;
gain = param->param[5].float_val * 0.02513;
gain = param->param[5].float_val * 0.02513 / 5.0;

/*
* The following was for on/off keytracking, needs to be continuous.
Expand Down

0 comments on commit 66b424b

Please sign in to comment.