Skip to content

Commit 7f9449f

Browse files
committed
fixed ramping of the send and feedback parameters in echo effect
1 parent 838b243 commit 7f9449f

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

src/effects/backends/builtin/echoeffect.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -167,13 +167,13 @@ void EchoEffect::processChannel(
167167
int read_position = pGroupState->write_position;
168168
decrementRing(&read_position, delay_samples, pGroupState->delay_buf.size());
169169

170-
RampingValue<CSAMPLE_GAIN> send(send_current,
171-
pGroupState->prev_send,
170+
RampingValue<CSAMPLE_GAIN> send(pGroupState->prev_send,
171+
send_current,
172172
engineParameters.framesPerBuffer());
173173
// Feedback the delay buffer and then add the new input.
174174

175-
RampingValue<CSAMPLE_GAIN> feedback(feedback_current,
176-
pGroupState->prev_feedback,
175+
RampingValue<CSAMPLE_GAIN> feedback(pGroupState->prev_feedback,
176+
feedback_current,
177177
engineParameters.framesPerBuffer());
178178

179179
int rampIndex = 0;

0 commit comments

Comments
 (0)