Message
Re: New here - props and a question
2008-04-13 by rpcfender
> > I have just noticed that the BC doesn't send back the .mode incval
> > command and instead it sends back .mode down.
>
> Correct! Incval is simply a red herring, a dead parrot, or whatever
> you want to call it... (I think I mentioned this in an earlier email
> to you, unless I forgot to send it or whatever.) Anyway, to be
> completely clear on this point: we can forget about the "incval"
> parameter - it doesn't work. Sorry about the confusion.
No, I disagree. incval is very useful.
It gets rid of the need to have the extra CC midi message when you want to increment sysex on a button.
$button 33
.showvalue on ;shows the value in the display
.easypar CC 1 102 2 0 increment 1 ; redundant Midi message
.tx $F0 $41 $10 $00 $6B $12 $10 $00 $27 $04 $79 val7.13 val cks-1 6 $F7
gives
$B0 102 1
$F0 $41 $10 $00 $6B $12 $10 $00 $27 $04 $79 0 1 45 6 $F7
$B0 102 2
$F0 $41 $10 $00 $6B $12 $10 $00 $27 $04 $79 0 2 46 6 $F7
$B0 102 0
$F0 $41 $10 $00 $6B $12 $10 $00 $27 $04 $79 0 0 44 6 $F7
$B0 102 1
$F0 $41 $10 $00 $6B $12 $10 $00 $27 $04 $79 0 1 45 6 $F7
now is
$button 33
.showvalue on ;shows the value in the display
.minmax 0 4 ; start at 0 count to 4 and loop back to 0 again
.mode incval 1 ; increment by 1 (you can use negative numbers to count backwards)
.tx $F0 $41 $10 $00 $6B $12 $10 $00 $27 $04 $79 val7.13 val cks-1 6 $F7
$F0 $41 $10 $00 $6B $12 $10 $00 $27 $04 $79 0 1 45 6 $F7
$F0 $41 $10 $00 $6B $12 $10 $00 $27 $04 $79 0 2 46 6 $F7
$F0 $41 $10 $00 $6B $12 $10 $00 $27 $04 $79 0 0 44 6 $F7
$F0 $41 $10 $00 $6B $12 $10 $00 $27 $04 $79 0 1 45 6 $F7
which is much better
The fact that the BC won't send it back is a pain, but it is great that we can get rid of the useless extra easypar
Royce
Attachments
- No local attachments were found for this message.