AfterTouchEvent Callback Not Triggered

I wrote a scriptlet with this code

On AfterTouchEvent (m : AfterTouchMessage)
   SendNow(MakeNoteMessage(1, 1))
End

I added a MIDI monitor to the scriptlet input and it printed this:

I then moved the monitor to the scriptlet output, but I got no note message. Does this callback work for others?

Obviously your controller sends polyphonic aftertouch messages, which are a different thing as (channel) aftertouch.
There is a callback specifically for “Polytouch” which should be used in your case.

2 Likes