This is a list of lists in Python. It looks more complicated than it is. You can add as many controls to that list as you want. You only need to make sure you do not collide with any other existing mapping in settings.py. An easy way to use at least 16 controls would be to reuse the CCs 33 to 40 – as I assume you do not use them as you do not have relative encoders, but only absolute knobs and faders. The following code sets up 16 controls (in absolute mode) for a device with CCs 33 to 48:
Code: Select all
"device_params": (
CC(33, ABSOLUTE),
CC(34, ABSOLUTE),
CC(35, ABSOLUTE),
CC(36, ABSOLUTE),
CC(37, ABSOLUTE),
CC(38, ABSOLUTE),
CC(39, ABSOLUTE),
CC(40, ABSOLUTE),
CC(41, ABSOLUTE),
CC(42, ABSOLUTE),
CC(43, ABSOLUTE),
CC(44, ABSOLUTE),
CC(45, ABSOLUTE),
CC(46, ABSOLUTE),
CC(47, ABSOLUTE),
CC(48, ABSOLUTE),
),
If you need even more controls, a quick check showed, that CCs 53-59 are currently unused. You could also use another MIDI channel for device control if you wish to. But your device needs to support sending on different MIDI channels simultaneously – which I don’t think it does looking at the screenshots you provided from the Editor software.
I hope that helps!
Okay, Wiffbe!!!!
When I get it right, then I can assign 16 Parameters which are assigned to the order of the in the order of the CCs like this
where 1 to 16 can have any number of the device_params - List you are showing above, right?
like:
Auto Filter
On (1.0; 0.0 - 1.0; quantized)
1 Filter Type (0.0; 0.0 - 3.0; quantized)
2 Frequency (127.0; 20.0 - 135.0)
3 Resonance (0.819999992847; 0.20000000298 - 3.0)
4 Env. Modulation (0.0; –127.0 - 127.0)
5 Env. Attack (6.0; 0.10000000149 - 30.0)
6 Env. Release (200.0; 0.10000000149 - 400.0)
7 LFO Amount (0.0; 0.0 - 30.0)
8 LFO Waveform (0.0; 0.0 - 6.0; quantized)
9 LFO Frequency (0.347130894661; 0.0 - 1.0)
10 LFO Sync (0.0; 0.0 - 1.0; quantized)
11 LFO Sync Rate (4.0; 0.0 - 21.0)
12 LFO Stereo Mode (0.0; 0.0 - 1.0; quantized)
13 LFO Spin (0.0; 0.0 - 0.5)
14 LFO Phase (180.0; 0.0 - 360.0)
15 LFO Offset (0.0; 0.0 - 360.0)
16 LFO Quantize On (0.0; 0.0 - 1.0; quantized)
17 LFO Quantize Rate (2.0; 0.0 - 9.0; quantized)
18 Ext. In On (0.0; 0.0 - 1.0; quantized)
19 Ext. In Gain (0.40000000596; 0.0 - 1.0)
20 Ext. In Mix (1.0; 0.0 - 1.0)
EXAMPLE: Ähmhm...
will assign the following:
CC33 controls In Gain (regarding your refreshed long controller list)
CC34 controls LFO Phase
CC35 controls Resonance
CC36 controls LFO Quantize On
okay, what happens with not assigned controllers, if I only took those four Parameters like in the AutoFilter Example above? When I get it right you said they are not used otherwise...?
Thx Thx Thx Thx Thx Thx Thx Thx...
Best
LTM