The script processes that message. For example: if velocity > 100 then send message to track 2 .
Are you looking to or generate musical patterns ?
Several software environments have become the "hot" spots for implementing Lua-based MIDI control. 1. REAPER (ReaScript)
: Script custom light shows on your controller that react to levels or clip states.