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

Latching controls on and off...

Latching controls on and off...

2013-02-23 by gersonelectricaleric

Good day,

I've taken a look around the group since recent membership and let me tell you, it renews my faith in humanity to see there are still people with brains out there.  Nice little community.  I, on the other hand, use and intend to use the BCF in much simpler fashions, yet maybe they still present new challenges.

I have some experience with SysEx messages and controlling various devices with them.  I am wondering just how one can program a momentary button, say those atop the bc's, to latch on and off.

What I am asking seems simple, but lets get deeper...  Say I want to send a SysEx message from that button to turn a function to "on".  I then have to send a slightly different Sysex chain to turn that same function "off". (changing one bit of the hex)  Let us also say that the device controlled by the BC only accepts input and does not feed any signal back to the BC.

Can I do this with the same button?  Can the LED on the button correspond?  What happens if I turn the BC off and then on again, and the controlled device hasn't changed?

Let me know your thoughts...

Re: Latching controls on and off...

2013-02-24 by Royce

Welcome

> I have some experience with SysEx messages and controlling various devices
with them. I am wondering just how one can program a momentary button, say
those atop the bc's, to latch on and off.
>
Get Mark's editor from his website (mentioned in the files area)
Get the BCL (Behringer Control Language) while you are there.
Have a read of my SecretBC.pdf , again in the files area.

> What I am asking seems simple, but lets get deeper... Say I want to send a
SysEx message from that button to turn a function to "on". I then have to send
a slightly different Sysex chain to turn that same function "off". (changing one
bit of the hex) Let us also say that the device controlled by the BC only
accepts input and does not feed any signal back to the BC.
>
The code you use is
$button 33
.minmax $23 $12
.default $23
.mode toggle ; for latch or 'updown'= momentary
.tx $F0 ... val .. $F7

"val" is the current value assigned to a button, encoder or fader and will be
substituted in the sysex message
On - the max value
F0... 12 ... F7
Off - the min value
F0... 23 ... F7

You can repeat 'val' or use other 'val' types (bits of the 14bit data the BC
uses)

$button 33
.minmax $0023 $3F14
.mode toggle
.default $23
.tx $F0 ... val7.13 ... val0.6 .. $F7

On - the max value
F0... 7E ... 14 ... F7
Off - the min value
F0... 00 ... 23 ... F7


> Can I do this with the same button?
Yes if you can organise the sysex to fit.
It can't do different lengths of sysex for example
Not possible
ON
F0 41 23 34 F7
OFF
F0 41 23 34 13 56 F7


> Can the LED on the button correspond?
The LED matches the state of the button.

> What happens if I turn the BC off and then on again, and the controlled device
hasn't changed?

You can change patches and the BC will remember the state of all the other
patches, but when you power on the BC, it loads the default into the value of
the button

Hope this helps
Royce

Re: [bc2000] Re: Latching controls on and off...

2013-02-24 by ericlanderson@...

Royce, 

Definitely helps. I have found the BCL and secrets. The language reminds me something of a cross between JavaScript and the old Hayes modems. 

If my "project" here works out, we'll have another audio item that can be manipulated with the BC. It's a Studio Technologies StudioComm 78. Made for monitoring 7.1 surround. Most of their products use SysEx messages to control them, not to mention beautifully written manuals that tell you every detail of the operation. Worth checking out if you're into audio and MIDI. 

Where the proprietary controller may be "better" than using a BC, its pretty expensive and I picked up the 78 for near pennies on a whim. We already use a BCF in our studio with Apple Logic. The BCF's 8 faders might be nice to adjust all 8 channels of the 78 on the fly, rather than the controller's big knob and push buttons. (It is certainly easier than entering in the sysex from midi-ox!) 

Hope to get some presets made up soon. 

Thanks, 
Eric 
Show quoted textHide quoted text
----- Original Message -----
From: "Royce" <rpcfender@...> 
To: bc2000@yahoogroups.com 
Sent: Saturday, February 23, 2013 9:23:41 PM 
Subject: [bc2000] Re: Latching controls on and off... 

Welcome Eric 

> I have some experience with SysEx messages and controlling various devices with them. I am wondering just how one can program a momentary button, say those atop the bc's, to latch on and off. 
> 
Get Mark's editor from his website (mentioned in the files area) 
Get the BCL (Behringer Control Language) while you are there. 
Have a read of my SecretBC.pdf , again in the files area. 

> What I am asking seems simple, but lets get deeper... Say I want to send a SysEx message from that button to turn a function to "on". I then have to send a slightly different Sysex chain to turn that same function "off". (changing one bit of the hex) Let us also say that the device controlled by the BC only accepts input and does not feed any signal back to the BC. 
> 
The code you use is 
$button 33 
.minmax $23 $12 
.default $23 
.mode toggle ; for latch or 'updown'= momentary 
.tx $F0 ... val .. $F7 

"val" is the current value assigned to a button, encoder or fader and will be substituted in the sysex message 
On - the max value 
F0... 12 ... F7 
Off - the min value 
F0... 23 ... F7 

You can repeat 'val' or use other 'val' types (bits of the 14bit data the BC uses) 

$button 33 
.minmax $0023 $3F14 
.mode toggle 
.default $23 
.tx $F0 ... val7.13 ... val0.6 .. $F7 

On - the max value 
F0... 7E ... 14 ... F7 
Off - the min value 
F0... 00 ... 23 ... F7 


> Can I do this with the same button? 
Yes if you can organise the sysex to fit. 
It can't do different lengths of sysex for example 
Not possible 
ON 
F0 41 23 34 F7 
OFF 
F0 41 23 34 13 56 F7 


> Can the LED on the button correspond? 
The LED matches the state of the button. 

> What happens if I turn the BC off and then on again, and the controlled device hasn't changed? 

You can change patches and the BC will remember the state of all the other patches, but when you power on the BC, it loads the default into the value of the button 

Hope this helps 
Royce 



------------------------------------ 

Yahoo! Groups Links

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.