For my piano vst I need to detect “Polyphonic Key Pressure” or “Aftertouch” MIDI messages.
(Don’t know why, but my Yamaha AvantGrand sends these for silent key strokes.)
This works fine when I test my plugin with the JUCE standalone host. Using MidiMessage.getDescription() and MidiMessage.getRawData() I get e.g.
“Aftertouch B2: 127 Channel 1”, Raw message: “a0 3b 7f”
In Reaper, however, the MIDI input message is
“Channel pressure 127 Channel 1”, Raw message: “d0 7f”
-> no note number information, I can’t use this message.
The weird thing is that Reaper’s MIDI control plugin tells me that Reaper is receiving the correct MIDI message starting with an “A” and containing the note number.
I haven’t tried in other DAWs yet, but I’d really like to stick with Reaper if possible. Any ideas, how to find out if the problem lies in Reaper, JUCE, or my vst3 code?