Can I read an Incoming CC# and place such in a Variable?

0
0

I believe currently I can only assign a variable to then read an Incoming CC# (for example, set variable “oo” to 37, then, read BC oo pp). Yet, can I receive the incoming CC then assign it’s CC# to a variable? So, if I press the same key and place the “37” value on a variable? Thanks!

RESOLVED
Marked as spam
Posted by (Q&A Forum: 3, Answers: 10)
January 13, 2017 10:26 pm
147 views
0
Private answer

OK, back to the question, it might not be working the way I thought it would. So, I want to be able to press 1 of 4 pads, then, store the CC# of any of those 4 pads pressed on a variable (let’s say I press CC#25, I want “25” to be stored on variable pp). Make sense? Thanks!

Luis

Marked as spam
Posted by (Q&A Forum: 3, Answers: 10)
January 14, 2017 3:39 am

I believe that’s what’s happening with the way I outlined in my answer. Use the Log Window in MT Pro to see what exactly is happening. It should say that pp is set to 25.

( at January 14, 2017 3:57 am)

Got it! This sequence of my pad presses was getting off from what the variables needed to be, so, made add’l corrections and working now. Thank you!

( at January 14, 2017 8:27 am)

perfect, glad to hear!

( at January 14, 2017 1:51 pm)
0
Private answer

Thanks for the quick response florian! My first question on the new Q&A section was actually the post regarding toggling LEDs while also turning previous On LED to Off. I am sure you’ll see it next. Again, thank you for the support, its’s appreciated!

Luis

Marked as spam
Posted by (Q&A Forum: 3, Answers: 10)
January 14, 2017 3:22 am
1
Private answer

Hi Luis,
first question on the new Q&A section! In MIDI Translator Pro, you can do that in a simple way using the dedicated MIDI message:
In your translator’s Incoming section, chose MIDI, then Control Change as type.
Set the channel to the MIDI channel you want (your example uses Channel 13)

Then for the controller#, if you want it to be 37, enter 37 into the field. If, however, you want to react on different controller numbers, check “any controller#”, then select a variable (say ‘oo’) which will be set to the controller number of an incoming control change message.

The same applies to the controller value: most likely, you’ll want to map all controller values, so you’ll select “any controller value” and then assign it to a (different) variable (say, ‘pp’).

Now in the rules and in the outgoing section, you can use the variable oo and pp as you like. If you use global variables (e.g. g0-g9, ga-gz), then you can access them in other translators, too, containing the last controller# and controller value.

Let me know if that’s what you want to do.

Marked as spam
Posted by (Q&A Forum: 4, Answers: 265)
January 14, 2017 3:12 am