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

@ -1 +1 @@
Subproject commit 9be5d435d3c7f07f18e3a3d40e684df72d0cdf97
Subproject commit eff9ed8bfcdb93fc82e4d242efe0bfa86846c98e

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);