Browse Source

Fixed a missing change to synthesiser

tags/2021-05-28
jules 10 years ago
parent
commit
a13eb80e6e
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      modules/juce_audio_basics/synthesisers/juce_Synthesiser.cpp

+ 1
- 1
modules/juce_audio_basics/synthesisers/juce_Synthesiser.cpp View File

@@ -311,7 +311,7 @@ void Synthesiser::allNotesOff (const int midiChannel, const bool allowTailOff)
SynthesiserVoice* const voice = voices.getUnchecked (i); SynthesiserVoice* const voice = voices.getUnchecked (i);
if (midiChannel <= 0 || voice->isPlayingChannel (midiChannel)) if (midiChannel <= 0 || voice->isPlayingChannel (midiChannel))
voice->stopNote (allowTailOff);
voice->stopNote (1.0f, allowTailOff);
} }
sustainPedalsDown.clear(); sustainPedalsDown.clear();


Loading…
Cancel
Save