Message
Re: Increment a Program Change with a button??
2009-10-12 by rpcfender
> Thanks a lot, that helped a lot.
pleasure
> I was able to make a button increment the program change. Do you know if there's any way to also implement a down button? I can do that, but they both use separate values, not incrementing and decrementing the same number.
>
> ie I press the down button, the bcr2000 sends program 126.
> I press up, 2 gets sent.
> I press down, 125 gets sent.
>
> This isn't how I'd like it to work... :-P
So I guess it really should go
start PC 24
Up (+1) PC 25
Up (+1) PC 26
Up (+1) PC 27
Up (+1) PC 28
Dn (-1) PC 27
Dn (-1) PC 26
Dn (-1) PC 25
Well we can trick the BC into doing this.
The BC will only 'remember' the value when using the Standard not the Learned command (easypar not tx)
In fact if the BC gets a PC message on the same Midi channel it will reset it's button value to that number.
I'm afraid I will have to explain this in BCL as I don't know how to do this in Mark's editor.
If Mark is around perhaps he could tell you how to do this .
Or you could get my editor (in the files section) and do this.
the standard Button PC message
.easypar PC 1 off off 6
PC = Patchchange
1 = the midi channel
off = Bank MSB
off = Bank LSB
6= the patch to change it to
So this would get the button to putout PC 6 on channel 1 ie $B0 $06
For the first two buttons on the top left (below the encoders)
$button 33
.showvalue on ; turn on the number display so you can see the numbers output
.easypar PC 1 off off 6 ; this is all there is to the standard command - but we can extend it - the value 6 is not relevant here
.mode incval 1 ; ; this will now increment the value by 1 in the easypar command each time the button is pressed
.default 10 ; where you want to start
.minmax 8 16 ; when it reaches the max it will loop back to the min - and visaversa
; - if the range you want is 0 to 127 just leave this out
The easypar part must came before the other stuff
So the complete message to overwrite Button 33 and 34 (34 is decrement)
$revR1
$button 33
.showvalue on
.easypar PC 1 off off 1
.mode incval 1
.default 10
.minmax 8 16 ;
$button 34
.showvalue on ;
.easypar PC 1 off off 1
.mode incval -1 ;
.default 10
.minmax 8 16
$end
Get the nearly correct preset from your BC into my editor and add this to the end.
I hope this helps
Royce
Attachments
- No local attachments were found for this message.