Skip to content

Commit

Permalink
fix musescore#19148: Distortion in sound playback after several measu…
Browse files Browse the repository at this point in the history
…res of play
  • Loading branch information
lasconic committed Feb 12, 2013
1 parent e9f5d70 commit bd741c8
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
Binary file modified demos/promenade.mscz
Binary file not shown.
2 changes: 1 addition & 1 deletion fluid/rev.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ void Reverb::process(int n, float* in, float* l, float* r)
float outL = 0.0;
float outR = 0.0;

float input = (in[k] * 2.0 + DC_OFFSET) * gain;
float input = ((in[k] * 2.0) * gain) + DC_OFFSET;

for (int i = 0; i < numcombs; i++) { // Accumulate comb filters in parallel
outL += combL[i].process(input);
Expand Down

0 comments on commit bd741c8

Please sign in to comment.