Ive had a pretty intense day off, coming to grips with MTP...all great so far but it would be great to have a sticky of how to do the basics as far as manipulating RAW data. I have the found the RAW incoming/outgoing really debulks a lot of the filtering. Just some basic concepts like (as I have been away from midi for a number of years):
Assuming the variable of rr, pp, vv as representing the Status/Channel, pp as Data 1 and vv as Value (Data 2)
To extract the
Status Value (Type of Event):
rr???? (do this)
Combine Status and Channel:
I know there are disparate resources on the net but a little toolbox would be great, especially as a single location on the forum here.
A flow chart of how port routing works
Using timers with simple example of eg scanning, forking etc. Id be happy to share my gestures preset as it contains a lot of those bits, maybe having a resource with other contributions. Would have made life a lot easier in learning. Always helps to see how other do things and enriches everyone. Bits and pieces are on the forum. Just a thought.