Here’s a quick and dirty example of messing about with drawbars
Also it’s worth noting the zynthian-ui supports midi learn and you can trivially map any cc control on to any synth param (including setBfree drawbars). Swipe right on the control in the box you want to map and you will see a green ??? appear. Then move the controller you want to map.
Hi @Baggypants!
Thanks for the little demo! It’s linked on the wiki now
Regarding the setBfree, i never had problems with the drawbars and CC, but i don’t use the LV2 plugin. Zynthian setBfree engine uses the standalone version, that has pre-assigned CC to every drawbar on each manual & pedals.
and i will add that CC values are assigned like that:
127-120 => 0
119-104 => 1
103-88 => 2
87-70 => 3
71-54 => 4
55-40 => 5
39-24 => 6
23-8 => 7
7-0 => 8
As you can see, it’s a kind of “reversed” assign, probably thought for working right with normal faders from any MIDI controller. When you “pull the fader”, CC value goes up, and when you push the fader, then goes down. In such a way, the player can manage the faders like drawbars.
Of course, i reversed that in the Zynthian UI, so you can rotate the encoders in the normal way: clockwise for “pulling” the drawbar and counter-clockwise for pushing it. However, assigned MIDI CCs maintain the original fader-reversed way.
Regarding the supossed “distortion” that Holger comments, i never noted that in the standalone version, so probably it’s only present in the LV2 version.
So, @jonathaslacerda, i’m pretty sure you can get your dreams become a reality
today I’m trying to connect the encoders on the all in one board, but I don’t know what wires I need to connect on board. I’m ignoring the + pin, but, what the equivalence between CLK, DT, SW, GND and PIN 1, 2, 3, 4 (from left to right) of the CTRL-1 connector?
This is the assignment used by CTRL pins in the All-In-One circuit:
pin 1: GND
pin 2: SW (switch)
pin 3: Encoder B
pin 4: Encoder A
I would try to put CLK & DT to pin 3 & 4. If the encoder works reversed, simply change to 4 & 3
Of course, you also can tweak the wiring layout pin assignment in the webconf tool. The only fixed pin is GND (pin 1). The other three doesn’t matter, as you can re-assign it by software
All works, but doesn’t with the expected behavior. The first encoder just works when I use the second. The second just alternate between the Layer List and Admin screens. The third, alternate between Save Snapshot and Load Snapshot screens…
Oh! I get it!
And now I’ve observed other behavior: after a time, all the encoders stops work
When you select a wiring layout, these values are adjusted accordingly. You can modify the values if you want, but in such a case it’s recommended to use the “CUSTOM” wiring layout, that’s empty for that purpose. If your wiring layout can be interesting for other people, we could add it to the list
Perhaps my board or my encoders are defective I’ve tested all possibilities and doesn’t work properly. Now have just the enc 4 wired at board. Left, Right and button have only 1 behavior: Right.
Sticking with the Motor 61 theme. This keyboard doesn’t clear down notes clearly. I can frequently trick it into holding a note by syncopated playing.
I have the Roland A-88 via USB and a Nord Modular G2 via MIDI Input on the same patch and I don’t get the effect with that.
That’s a bit of a problem …
All works, but doesn’t with the expected behavior. The first encoder
just works when I use the second. The second just alternate between
the Layer List and > Admin screens. The third, alternate between Save
Remove on KY-040 encoders resistor R3 (10 kohm), as it interferes with other pullups (R1 and R2). Desolder it or just scratch all resistive layer away (usually green or black color) until white ceramic becomes visible.