_ since my original post wasnt getting any replys ive changed the title and tried to clarify my questions. was originaly few q’s about controlling different messages with one knob and scalling _
_ Read second post. _
Few more questions from me, while im planning my interface for my G9.2tt midi controller HERE
So what i plan to do is have 4 knobs lets call them K1 K2 K3 and K4
i want to scale knob one to send 0-14 (00h-0Eh) and deppending on what k1 is, the other 3 Knobs will have different ranges.
so when K1 = 0… k2, k3, k4 will have a minimum of 00h, but maxium will be 14h, 3Fh, 3Fh respectively
when K1= 1… K2, K3, K4 will have min= 00h, max= 01h 16h, 2Fh respectively.
and so forth .
and i want to do this for about 11 groups of knobs which means that ill be running 11 if loops for different knobs, will this slow my midibox down too much
ill post psedocode for what i want to do, is this right?
Knobx(address,min,max)
if 0x00 = 0 #if knob 1 of the first group of knobs equals 1
K2(0x01,00,14)
K3(0x02,00,3F)
K3(0x03,00,3F)
elseif 0x00 = 1
K2(0x01,00,01)
K3(0x02,00,16)
K3(0x03,00,2F)
etc etc
Now if i have a list of 14 elseif for for k1, and then i have say 11 different groups (A1-K1) is that going to impact on the performance of my midibox. all of this will be sending midi sysex… of 7 bits, so with 11 groups of an average of 15 elseif situations per group, each with 3 variables its controlling..
now to state it a bit clearer…
at any time, there will be 11 ‘if’ loops running at a time, scaling 3 variables each, that are sent out as midi SysEx the input ill most likely be digital encoders.
hmm, my eyes have gone cross eyed, if anyone cant understand that ill try and explain it better.
thanks ![]()