From a13eb80e6ee09cf09dee7cad1239612399543faa Mon Sep 17 00:00:00 2001 From: jules Date: Fri, 19 Sep 2014 09:00:34 +0100 Subject: [PATCH] Fixed a missing change to synthesiser --- modules/juce_audio_basics/synthesisers/juce_Synthesiser.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/juce_audio_basics/synthesisers/juce_Synthesiser.cpp b/modules/juce_audio_basics/synthesisers/juce_Synthesiser.cpp index 464e3ec56b..6a38130f18 100644 --- a/modules/juce_audio_basics/synthesisers/juce_Synthesiser.cpp +++ b/modules/juce_audio_basics/synthesisers/juce_Synthesiser.cpp @@ -311,7 +311,7 @@ void Synthesiser::allNotesOff (const int midiChannel, const bool allowTailOff) SynthesiserVoice* const voice = voices.getUnchecked (i); if (midiChannel <= 0 || voice->isPlayingChannel (midiChannel)) - voice->stopNote (allowTailOff); + voice->stopNote (1.0f, allowTailOff); } sustainPedalsDown.clear();