I’m trying to get my first ctrldev driver going.
I have an Akai LPD8 and I want to use the pots as a replacement for the encoders.
This part works fine.
But, as soon as the driver is loaded, no MIDI messages get through to the chain itself, so the pads no longer produce any sound.
In fact, even with a completely empty midi_event function this happens. I tried to end the function with return True and with super().midi_event(ev) but nothing works.
I think I’m missing something basic.
(The __init__ function sends a sysex to color the pads.)
I did not notice that you used CUIA :ZYNPOT_ABS that ,I suppose is able to understand a changing CCval (it will be very useful to build a driver for my Arturia Keystep 37)
For my LP MK3 driver I use CUIA :ZYNPOT and needed the thread system as explained by @riban
Yes, as the name suggests, it sets an absolute value. CUIA:ZYNPOT increases or decreases the value of the pot with the number (positive or negative) you specify. ZYNPOT_ABS sets the pot to the value specified.
I don’t know if this works for your use case (I don’t use sequencers) but for engine settings it works great, the white dot indicates the current setting of the potmeter, you move it to the higher part of the indicator to “pick it up” and then you set the value you desire. Works brilliantly!
You can add favourite controllers that appear on pages at the top of the chain list which can allow you to have whichever four controller you want on the same page, even from different processors!
CC 80-83 are defined as “General Purpose Controllers”, although they are often described as on/off switches (I think Roland started that).
I used CC 70-73 because that was the default for my Akai (quick and dirty to see if it worked), but I’m going to move them to 22-25, these are documented as “Undefined”.
This is a cool feature, you access it by boldpushing the encoder that is “paired” with the controller you want to favour, theres a checkbox, i think it is called something else than “Favourite Something”
Then if yoy scroll up through the pages of controllers all the way to the top, your favourite controller will be on the very first page of controllers, and you can add more
I’m away from Z so can not send screendump
When you bold press an encoder, a Control options screen opens (the same one where you can also unlearn midi). The top line is Chain Controller. If you check that a new settings item is opened called CHAIN and the checked controllers are added there.
The right name is “Chain Controllers”.
I chose this name because it’s list of controllers you can choose for each chain and they are displayed at top. You can see this as your “favorite controllers for each chain”.
Also, they have special meaning in some ctrldev drivers, like the Akai APC40, that uses the “Chain Controllers” for the strip top encoders when “user” mode is selected.