8 different midi CCs into 1 pot?
2012-08-08 by s_y_nagual
Yahoo Groups archive
Index last updated: 2026-04-28 23:16 UTC
Thread
2012-08-08 by s_y_nagual
Hi all, I was wondering if it is possible to assign 8 CCs, to one pot (or button with increments)?. The CCs are simple on/off (buttons), and there is only one active at a time. they change scenes, and are also assigned to notes:60-67. Is it possible? I don't care how it is done, it would free 8 buttons TIA
2012-08-09 by Royce
--- In bc2000@yahoogroups.com, "s_y_nagual" <s_y_nagual@...> wrote: > > Hi all, > I was wondering if it is possible to assign 8 CCs, to one pot (or button with increments)?. > The CCs are simple on/off (buttons), and there is only one active at a time. > they change scenes, and are also assigned to notes:60-67. > Is it possible? I don't care how it is done, it would free 8 buttons > TIA > You don't say what the CCs are so taking the note message you could try Midi channel 1 $encoder 1 .showvalue on .mode 1dot .resolution 96 96 96 96 .default 60 .minmax 60 67 .tx $90 60 00 ; turn all the notes off first or use Note off $80 .tx $90 61 00 .tx $90 62 00 .tx $90 63 00 .tx $90 64 00 .tx $90 65 00 .tx $90 66 00 .tx $90 67 00 .tx $90 val 127 ;use val for the note number all the best Royce
2012-08-09 by karel skakal
Hi Royce, thank you for reply and solution....I am happy it can be done! I really had only a slight hope about this Originally, I wrote the CCs, but then I erased them, thinking the CC numbers won't matter, if you/anyone wrote an example I could change them, now I see they do matter. The CCs are: 6,8,9,11,12,13,14,15. I follow you just down to the .tx messages, then you loose me, I don't know where to write (.tx) them...Text pad...and then? I'm sorry, I tried converting them to sysex after writing it into text pad, etc...No go...I converted it, send it and got bunch of errors Can you be so kind and explain please? Thanks a lot for your time and help. all the best to you, Karel:-) ________________________________
From: Royce <rpcfender@...> To: bc2000@yahoogroups.com Sent: Thursday, 9 August 2012, 6:04 Subject: [bc2000] Re: 8 different midi CCs into 1 pot? --- In bc2000@yahoogroups.com, "s_y_nagual" <s_y_nagual@...> wrote: > > Hi all, > I was wondering if it is possible to assign 8 CCs, to one pot (or button with increments)?. > The CCs are simple on/off (buttons), and there is only one active at a time. > they change scenes, and are also assigned to notes:60-67. > Is it possible? I don't care how it is done, it would free 8 buttons > TIA > You don't say what the CCs are so taking the note message you could try Midi channel 1 $encoder 1 .showvalue on .mode 1dot .resolution 96 96 96 96 .default 60 .minmax 60 67 .tx $90 60 00 ; turn all the notes off first or use Note off $80 .tx $90 61 00 .tx $90 62 00 .tx $90 63 00 .tx $90 64 00 .tx $90 65 00 .tx $90 66 00 .tx $90 67 00 .tx $90 val 127 ;use val for the note number all the best Royce
2012-08-10 by Royce
2012-08-10 by karel skakal
Royce, thank you so much, it worked, at first I was making a mistake by not writing the message in between the beginning and end message, (I was getting errors on all lines) and when I got the BC MIDI implementation manual, I finally put the message in the right place and it worked. (I had to change the "o" to "0" with the $ sign inside 0)... I am making a template for S-Layer, http://twistedtools.com/shop/reaktor/s-layer/ which has used all 127 messages and I am trying to make a template with the most used features, so pots and buttons are getting used fast. I am using Marks' (fantastic) editor...(and his BCL editor to write the message) I found your BCReditor and info, but have not been able to do editing, I must read it and understand before I fiddle... Your BCReditor seems more complex or programmer oriented? (I found no "manual")... Still, I have long way to go before I can write these types of messages, I am not a programmer, and so I respect your knowledge of MIDI, programming and BCR/Fs. From the BCManager manual: The BCL editor window is intended as a testing and debugging tool, not for ordinary usage: BC Manager allows you to do virtually anything you would ever want via its ‘normal’, graphical windows and dialog boxes. Working with the BCL editor window requires in-depth knowledge of BCL, the language underlying most data communication with the BCF and BCR. See BCMI for details. The type of message you wrote for me, it is possible with the BCManager, or easier with your editor? You really opened a new territory of BCR for me, I had no idea these things could be done, mostly I do CC/note assigns to software VSTs. Thank you very much for help and have a good weekend. Best wishes Karel PS I zipped the manual for S-layer, last two pages are midi implementation if you/anyone cares to see (why it was CC 6,8,9,etc). ________________________________
From: Royce <rpcfender@...>
To: bc2000@yahoogroups.com
Sent: Friday, 10 August 2012, 9:21
Subject: [bc2000] Re: 8 different midi CCs into 1 pot?
Hi Karel
> The CCs are: 6,8,9,11,12,13,14,15.
I assume your switch is changing the CC from 0 to 127.
The CCs aren't sequential as CC7 (volume) and CC10(pan) are not included in your list.
I think notes would be better otherwise you would have to output CC7 127 which would turn the volume to max.
If this is not important then use
$encoder 1
.showvalue on
.mode 1dot
.resolution 96 96 96 96
.default 6
.minmax 6 15
.tx $B0 06 00 ; turn all the CCs off first
.tx $B0 08 00
.tx $B0 09 00
.tx $B0 11 00
.tx $B0 12 00
.tx $B0 13 00
.tx $B0 14 00
.tx $B0 15 00
.tx $B0 val 127
>
> I follow you just down to the .tx messages, then you loose me, I don't know where to write (.tx) them...Text pad...and then?
I assume you are using either my editor or Mar'k s fantastic one.
Mark's editor has an area to edit the text (B-Controls menu option View BCL Editor) or you can do this in the graphic editor.
> I'm sorry, I tried converting them to sysex after writing it into text pad, etc...No go...I converted it, send it and got bunch of errors
>
> Can you be so kind and explain please?
Nothing to do with sysex .
Midi is easier to read in hex as often the command is the first character and the channel is the second character
In BCL you can mix hex and decimal on one line
$?? is a hexadecimal number.
$B0 is CC on channel 1
$B3 is CC on channel 4
$90 is 'note on' on channel 1
If there isn't a hexadecimal mark $ then the number is decimal
The following is a code snippet in BCL (Behringer Control Language)
; and what follows it on that line is used for comments and is not part of the code
$encoder 1 ; The control - top left
.showvalue on ; display the value when the control is operated
.mode 1dot ; The display Leds around the encoder
.resolution 96 96 96 96 ;96 midi messages for a full revolution of the encoder
; You might like to change these to 48 or 24 or 12 to make the encoder less sensitive.
.default 60 ;start at this value
.minmax 60 67 ;The minimum is the first value the maximum is the second value
; .tx means transmit the following. You can have multiple .tx lines and the BC will send them all in the order you set out.
; you can have blank lines in BCL
.tx $90 60 00 ; turn all the notes off first or use Note off $80 - note on with 0 velocity = note off
.tx $90 61 00
.tx $90 62 00
.tx $90 63 00
.tx $90 64 00
.tx $90 65 00
.tx $90 66 00
.tx $90 67 00
.tx $90 val 127 ;use val for the note number
When you turn the encoder the following will be sent out...
176 60 00
176 61 00
176 62 00
176 63 00
176 64 00
176 65 00
176 66 00
176 67 00
176 60 127
move it some more...
176 60 00
176 61 00
176 62 00
176 63 00
176 64 00
176 65 00
176 66 00
176 67 00
176 61 127
and so on
Hope this helps
All the best
Royce2012-08-11 by Royce