Rotary knobs for tiny numbers?
Hey!
This is a whole series of questions;
I want to be able to control various float boxes with a MIDI device w/ rotary knobs (like the Behringer BCR2000 or that Doepfer Pocket Dial or...anything better?). I have a few patches that do various droney things in small increments and would just love to be able to slowly and accurately raise/lower those numbers by as small of an increment as I can (like, 0.00001 in either direction per turn). Is this possible? Or am I stuck to the 0-127 thing?
Hi Fritz,
The main thing to check is if the rotary knobs do infinite rotation, and what it outputs after it hits 0 or 127. I mean, if you keep turning it does it stil outputs 127 or does it stop, or starts from 0 gain? or something else?
If the knobs turn infinitly you can!
You could start from somthing like this (this assumes that the knob repeatedly outputs 127 and 0 at its "ends" when you keep turning it):
-N
You can configure the midi controller to send midi cc in relative mode, e.g. value > 64 when turning clockwise and increment the value yourself.
Or your midi controller may be able to send out 14-bit resolution midi cc messages (like faderfox's controllers), This will give you values ranging from 0 to 16383.
given that the condition nikolas k is talking about is met (controller sends the 0 and the 127 again if you hit the limit) the following expression will do what you need:
expr ( ( ((($f1!=0) && ($f1!=127) && ($f1>$f2)) || ($f1==127)) * 1. ) + ( ((($f1!=0) && ($f1!=127) && ($f1
where f2 is the last f1 and f3 a variable factor for the step size.
taken from [110.cc2endless] :)
-110
p.s. note that the doepfer endless dial is discontinued long ago, while the behringer comes with modified firmware and various user presets which (afaik) allows that mode you need among many others.