Skip to content

Commit

Permalink
Fix an attack/delay phase problem with FROM_LAST (#6696)
Browse files Browse the repository at this point in the history
  • Loading branch information
baconpaul authored Nov 9, 2022
1 parent d1af803 commit 20846fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/common/dsp/modulators/LFOModulationSource.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1248,7 +1248,7 @@ void LFOModulationSource::process_block()
}
auto magnf = limit_range(lfo->magnitude.get_extended(localcopy[magn].f), -3.f, 3.f);

output_multi[0] = useenvval * magnf * io2 + useenv0;
output_multi[0] = (useenvval + useenv0) * magnf * io2;
output_multi[1] = io2;
output_multi[2] = outputEnvVal + useenv0; // env_val;

Expand Down

0 comments on commit 20846fb

Please sign in to comment.