Skip to content

Commit

Permalink
setting a decent cross face duration made all but the first transitio…
Browse files Browse the repository at this point in the history
…n smooth. I think they are all smoot ðh 😅
  • Loading branch information
vberthiaume committed Oct 24, 2024
1 parent b74f268 commit 921ec39
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions source/DSP/ProPhatSynthesiser.h
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,7 @@ class EffectsCrossfadeProcessor

void prepare (const juce::dsp::ProcessSpec& spec)
{
//smoothedGain.reset (sampleRate, rampLengthInSeconds);
smoothedGain.reset (spec.maximumBlockSize);
smoothedGain.reset (spec.sampleRate, .1);
}

void changeEffect()
Expand Down

0 comments on commit 921ec39

Please sign in to comment.