I run a beta where users report that (poly) Aftertouch is not recognized by the plugin. I don’t have a keyboard which is capable of aftertouch so it is kind of hard to debug…
I tried injecting artificital MIDIevents into the MIDI-queue
int aftertouch = 160;
int note = 64;
int value = 127;
for (int sample = 0; sample < buffer.getNumSamples(); ++sample) {
midiMessages.addEvent(MidiMessage(aftertouch, note, value), sample);
}
These values get properly regognized by the JUCE funcions:
bool MidiMessage::isAftertouch()
Yet the users report it is not working. I even had one of them log the MIDI-events the controller was sending and they matched the scheme perfectly!
Now my next steps would be:
- ask the lovely people on JUCE forum if they know what could be wrong / have any help
- tinker around and build and Arduino device which is capable of sending Aftertouch
- Buy a MIDI-controller with poly-aftertouch