Global variables

thedisciplegrin

2010-09-16 17:06:09

Are global variables 'global' in the sense you can pass them between presets. I'd like to assign a global variable based on which preset ( in a list of presets ) is activated. Currently I assign that variable with a rule inside of the preset ( assigned upon activation of the preset ).

I'd like to be able to recall and send the variable from an activation in another preset. i.e. 'shift midi-note activates preset and also assigns ga=1' allowing the shift button now to send the value ga 76 pp. it seems my globals are being ignored at the moment.


tia

b

thedisciplegrin

2010-09-16 17:18:17

In case anyone else is as stupid as I am. Make sure you are assigning your global variables their hex value.

i.e. if desired outgoing action is MIDI 90 35 01 then ga = 0x90. not ga = 90.


b

Attigo

2010-09-16 22:57:58

Glad you figured it out...

Do you have everything figured out now?

Scott