--- In bc2000@yahoogroups.com, "mark" <mattiix@...> wrote:
> Is it possible to build 'radio buttons' ie one button controls other button(s) LED on/off (as well as message state)? I'm using Cubase and also have Bome's MIDI TRANSlator and MIDI-Ox but am wondering if it can be done without programming translations. Cubase has an internal function where one set of controls (Generic Remote) can be "shifted" to control 4 different 'banks'. I'm using BC Manager and have buttons 53-56 successfully switching through banks, but would like these buttons to have feedback like default Encoder Group buttons, where only one is active at a time (turning off previous group LED).
The BCF and BCR do have "value synchronization", as described in "BC MIDI Implementation.pdf", section 14.9.
However, the state of a button's LED is determined by the button's current Value related to its value range ("Value1" and "Value2"):
each button has a split point at the middle between Value1 and Value2: any value BELOW that split points leads to one LED state, any value ABOVE it to the other LED state.
Whether "below the split point" means "off" or "or" depends on whether Value1 is larger than Value2.
So I can't see how you could effectively define more than two radiobuttons: it's mathematically impossible.
> In addition, could someone direct me as to how to toggle an encoder knob's LEDs by way of the corresponding encoder button? This is for toggling on/off sends in Cubase - the encoder knob is presently a variable CC and the button a note, which I want to display as OFF=No LEDs, then back to original state (variable CC when toggled back on).
A similar story: an encoder's LEDs are directly related to the encoder's Value, related to the range as set by Value1 and Value2.
So you can only clear an encoder's LEDs by somehow setting its Value to Value1 (usually 0).
This can indeed be done by the aforementioned value synchronization: you can simply assign the same CC to the button, but the problem is that pressing the button then causes the encoder to completely forget its original value - not quite what you had in mind, I suspect.
(Note: in this case it WOULD be possible to have the button still send your Note message, namely via a ".tx" definition, i.e. "Custom output" in BC Manager. However, I doubt whether the resulting setup is what you want.)
Hope this helps,
Mark.Message
Re: BC Control Radio Buttons/LED Toggling
2011-03-15 by Mark v.d. Berg
Attachments
- No local attachments were found for this message.