Matrix currently gives great access to the last *value* coming from midi, but there’s no way to know what note or CC was received, that triggered a command.
I’m currently programming more complex stuff including communication back to controllers, and having access to this information would be really useful.
Shouldn’t be tough?
Assuming that you mapped your midi device to the matrix, you have the possibility to accces to those informations with :
Declare Local int $lastDial$ = 0
$lastDial$ = {currentCaseValueString()}
Post {"Current dial is = " + $lastDial$}
Post {"CC for the current dial is = " + $midiMappingValue[lastDial]$}
Post {"Midi channel for the current dial is = " + $midiMappingChannel[lastDial]$}
Post {"The Midi device is = " + $midiMappingDevice$}
// Which Case is it ?
Message { "Button or Dial number " + currentCaseValueString() + " : " + currentCaseOptionValueFloat(0)}
Haha, it took more than 20 minutes to find this.
I was remembering I had already coded something but yes that was not documented…
This should be in an example, but that’s not the case… -)
Is there a way I can access more undocumented stuff somehow?
Not right now, sorry.
Will do my best to share something soon…
Philippe