Message
Re: 8 different midi CCs into 1 pot?
2012-08-10 by Royce
> 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
Royce
Attachments
- No local attachments were found for this message.