Message
Re: Creating Alesis Quadrasynth patch with bcman: Need Help.
2008-11-17 by rpcfender
> A basic program parameter changenlooks like this:
>
> <channel/pot>
>
> So for a filter freq change i've got this on a rotary controller:
>
> $F0 $00 $00 $0E $0E $10 $44 $00 $07 val $F7
>
> and it works like a charm.
>
> Now, when I read the output of another parameter change (Vel>Filt)
> from the software editor I get <06> in the 9th byte but then it
> changes to <07> mid-way through a revolution of the slider in the
> software.
so...
$F0 $00 $00 $0E $0E $10 $ $ $06 val $F7
goes to...
$F0 $00 $00 $0E $0E $10 $ $ $07 val $F7
yes?
What is the range of the val ? 0 to 127?
If it is you can use the 14bit numbers in the BC.
Now here is the confusing bit, to get $06 $00 (a 14 bit number) you need the 16 bit number $0300
x000 0000 x000 0000 2 bytes (x is not a bit)
x000 0110 x000 0000 $06 $00
xx00 0011 0000 0000 to get a 16 bit number the high byte rolls right one into the lower byte = $03 00
(There is a Hex to 14bit Midi converter in the files section.)
To finish at the 14 bit $07 $7F you need the hex $03 $FF
.minmax $0300 $03FF
.tx $F0 $00 $00 $0E $0E $10 $ $ val7.13 val0.6 $F7
Post the real min max values and I'll try to get closer for you
All the best
Royce
Attachments
- No local attachments were found for this message.