mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
VST3: Fixed a bug receiving channel pressure messages
This commit is contained in:
parent
be83a08c3b
commit
9b8644fed6
1 changed files with 2 additions and 3 deletions
|
|
@ -477,9 +477,8 @@ public:
|
|||
break;
|
||||
|
||||
case Steinberg::Vst::Event::kPolyPressureEvent:
|
||||
result.addEvent (MidiMessage::aftertouchChange (createSafeChannel (e.polyPressure.channel),
|
||||
createSafeNote (e.polyPressure.pitch),
|
||||
denormaliseToMidiValue (e.polyPressure.pressure)),
|
||||
result.addEvent (MidiMessage::channelPressureChange (createSafeChannel (e.polyPressure.channel),
|
||||
denormaliseToMidiValue (e.polyPressure.pressure)),
|
||||
e.sampleOffset);
|
||||
break;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue