Fixed pitch bend of released notes

This commit is contained in:
Roland Rabien 2023-10-12 09:20:28 -07:00
commit 1e1432b177
2 changed files with 2 additions and 2 deletions

View file

@ -1179,7 +1179,7 @@ bool WavetableAudioProcessor::loadWaveTable (juce::OwnedArray<gin::BandLimitedLo
void WavetableAudioProcessor::handleMidiEvent (const juce::MidiMessage& m)
{
MPESynthesiser::handleMidiEvent (m);
gin::Synthesiser::handleMidiEvent (m);
if (m.isPitchWheel())
modMatrix.setMonoValue (modScrPitchBend, float (m.getPitchWheelValue()) / 0x2000 - 1.0f);