Home › Forums › General › Programming › Changing just one element in SysEx string globally? › Reply To: Changing just one element in SysEx string globally?
Hi llatham,
If you don’t want to use lua…
You can do it globally using setGlobal() function in the little box Expression to evaluate …. To write the global variable to sysex, use k0,k1 etc for the static value you want to change.
substitute
F0 41 10 00 00 77 12 19 01 k1 k0 xx z5 F7
for
f0 41 10 00 00 77 12 19 01 20 0c xx z5 f7
for example.
I also included a formula for switching between 0,127 (7F) using a toggle – which is sometimes needed.
setGlobal (0,(modulatorValue*127))
(0 = k0,1 = k1 etc)
?
See attached panel.
Also: see https://ctrlr.org/forums/topic/did-i-mess-up-my-panel-size/#post-120399
- This reply was modified 3 years, 6 months ago by dnaldoog. Reason: forgot attachment
- This reply was modified 3 years, 6 months ago by dnaldoog.