soundchicken
2013-01-18 00:52:56
First off this is my first post and I'd defiantly like to say thanks for a great product. The little that I've used it so far already been worth the price.
I am a Software Audio Console user that has a tablet with TouchDAW as a front end. (also both great pieces of software) What I purchased MT for was to assist in turning some of the DAW buttons, stuff that doesn't get used in a live setting, into something that IS usable for me. So far this has consisted in using translators to receive a MIDI triggers and output a hotkey response on my SAC host to do some varied task. My current project is to add some method of a "alt" button being held on the host machine. I have done this already with a Mackie MCU but the MIDI commands that I'm seeing from TouchDAW are a little more complex.
TouchDAW has a button on it labeled (of all things) "alt", when -
Pressed and released the first time it sends: 90 56 7F / 90 56 01 / 90 56 00 and turns on the local "I'm on" indicator on the button.
Pressed while the indicator is on, it sends: 90 56 7F / 90 56 00 and turns the indicator off.
My conundrum comes from the fact that the "off" press MIDI is a complete subset of the "on" press. I could use the 90 56 01 to trigger the on easy enough, but the off is all parts of what I'd see during the on. Could this be a point to use a global variable and just use the 90 56 01 to flip the state? or is there a "mo betta" way?
Since I have absolutely no experience using rules in MT, but lots in Lua and AHK, I was wondering if anyone could point me in a way that they would solve this kind of issue with MT rules.
I am a Software Audio Console user that has a tablet with TouchDAW as a front end. (also both great pieces of software) What I purchased MT for was to assist in turning some of the DAW buttons, stuff that doesn't get used in a live setting, into something that IS usable for me. So far this has consisted in using translators to receive a MIDI triggers and output a hotkey response on my SAC host to do some varied task. My current project is to add some method of a "alt" button being held on the host machine. I have done this already with a Mackie MCU but the MIDI commands that I'm seeing from TouchDAW are a little more complex.
TouchDAW has a button on it labeled (of all things) "alt", when -
Pressed and released the first time it sends: 90 56 7F / 90 56 01 / 90 56 00 and turns on the local "I'm on" indicator on the button.
Pressed while the indicator is on, it sends: 90 56 7F / 90 56 00 and turns the indicator off.
My conundrum comes from the fact that the "off" press MIDI is a complete subset of the "on" press. I could use the 90 56 01 to trigger the on easy enough, but the off is all parts of what I'd see during the on. Could this be a point to use a global variable and just use the 90 56 01 to flip the state? or is there a "mo betta" way?
Since I have absolutely no experience using rules in MT, but lots in Lua and AHK, I was wondering if anyone could point me in a way that they would solve this kind of issue with MT rules.