Send and receive MIDI from/to same controller
I’m using a Behringer BCR2000 to control some sliders in max.
I use [ctlin] and everything works fine. But I would like to be also able to move the slider with the mouse so the motorized knob of my controller would move. I connected my slider to a [ctlout] PROBLEM: the slider (and the knob of my controller) don’t stop moving anarchically…..
I guess it’s because of the "loop" I’ve created.
Can someone help?
you need to use the "set $1" message on the values coming in. This won’t work going out, you need to send the "real" values out to the device, so it will move the controller hardware. But the values coming in need to only *set* the slider in your patch, so they don’t create the loop. So the slider in your patch is just a visual representation as an input, though it’s a real output (to the device via your mouse).
You actually want to *do* something with the values, I’m sure, so that should be a separate output from the slider to where the values are actually used, if the patch is the main out. This way your mouse and your hardware can both be used to control. Unless the hardware is the one going out to the end-result (like to another synth rather than in software), then you don’t need the extra out in your patch.
Harder to explain than to create :) just use the "set $1" to start and you’ll get it working.
Motorized controllers are fun…you could try using TouchOSC on the setup and you can make them move automagically ;)
Ok, it works perfectly with a "set $1" message.
Thank you very much!
Now you have Jedi telekinesis powers over your controller!
"No! No different…only different in your mind!"
[change] also does wonders in situations like these. if you disallow repetitions of more than two the same values, this can work almost like "set"-and-retrigger.