Skip to content

Commit 23c32af

Browse files
committed
added snap to zero on constellation
2 parents d1abd7a + b930628 commit 23c32af

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Source/SpecialFX.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,8 @@ void Constellation::processBlock(juce::AudioBuffer<float>& buffer, juce::MidiBuf
6060
lfoOutput = lfo[channel].renderAudioOutput();
6161

6262
// input + damped feedback into delay
63-
delay.pushSample(channel, channelData[sample] + (dampingFilter.processSample(channel, channelFeedback[channel]) * mParameters.decayTime));
63+
delay.pushSample(channel, channelData[sample] + (dampingFilter.processSample(channel, channelFeedback[channel]) * mParameters.decayTime));
64+
dampingFilter.snapToZero();
6465

6566
// reset channelData, then sum outputs to channel
6667
channelData[sample] = 0.0f;

0 commit comments

Comments
 (0)