Bc2000 (for the BCF2000 & BCR2000) group photo

Yahoo Groups archive

Bc2000 (for the BCF2000 & BCR2000)

Index last updated: 2026-04-28 23:16 UTC

Thread

BC Control Radio Buttons/LED Toggling

BC Control Radio Buttons/LED Toggling

2011-03-15 by mark

Greetings all, this is my first post.
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). Incidentally, the bank function in Cubase has a 'spin edit box' graphic instead of an LED display, so it doesn't have a proper internal LED display(+output?) as it does for Selected Track -which works in a respective radio button manner.

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).
I hope I didn't make this sound too confusing.

Basically, what I need to know is how LED on/off messages correlate to incoming/outgoing assignments, and how they may be controlled externally. I somehat prefer to forego the toggle setting for most of my uses to avoid extra button presses, but seem to require it to have visual feedback. Any help is greatly appreciated, and excuse me if these questions have already been covered.

Re: BC Control Radio Buttons/LED Toggling

2011-03-15 by Mark v.d. Berg

--- 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.

Re: BC Control Radio Buttons/LED Toggling

2011-03-15 by Mark v.d. Berg

--- In bc2000@yahoogroups.com, "Mark v.d. Berg" <markwinvdb@...> wrote:
> Whether "below the split point" means "off" or "or" depends on whether Value1 is larger than Value2.

Of course that should have been: "off" or "on".

M.

Re: BC Control Radio Buttons/LED Toggling

2011-03-18 by mark

Your response time is phenomenal(!) Mine is obviously horrible - sorry about that. But BIG thanks for your reply. I tried to find combinations of values that might at least turn all bank lights on sequentially/in steps (bar graph?), but the results were strange. I've resorted to a MIDI loop with extra BC Manager custom messages assigned to each button to turn the LEDs on and off for me. It's working like a charm. I'm not sure what I'll do about the encoder LEDs, guess I'll need BMT to capture/recall values. Thanks for the reference to the MIDI Implementaion, too, now I'm getting the hang of LED control. I've used a range of values 1 and 0 as standard output [toggle off], custom message (same variable) with value 127 looped back to turn that LED on, plus others with value 0 looped back to turn off the other banks).

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.