FW: [A6] A6 bank manager etc

Geoff Moehrke gmoehrke at execpc.com
Fri Jun 28 10:45:03 PDT 2002


>From: a6-admin at code404.com [mailto:a6-admin at code404.com] On
>Behalf Of Reid
>Sent: Thursday, June 27, 2002 11:47 PM
>To: a6 at code404.com
>Subject: RE: [A6] A6 bank manager etc
>
>Actually the encoding is almost the same. The A6 leaves off the top
>bit first, and the QS--if I remember correctly, I don't have access 
>to that info anymore--leaves off the bottom first. You can look at it 
>this way: in each case you just have to re-map bit to bit. Then using 
>bit-shifting and ORing to make it go faster than one bit at a time.
>
Hi Reid - Actually, I think the A6 and the QS's do the 7/8 encoding or
"marshalling" the same way.  I'll have to double-check the sysex docs
when I get a chance just to verify.  What I was referring to was the way
the individual parameters were stored in the resulting buffer.
Parameters with smaller ranges may only take 3 or 4 bits and these were
packed right up against other parameters within the same byte, sometimes
"spilling over" into the next byte value.  This made for some fun
programming in extracting the values and converting them into wintel
byte or word values.  If I read the A6 sysex doc correctly, each
parameter lies in one or more distinct byte values, the only remaining
issue is to resolve any "endian" differences which is a little more
straightforward as far as programming tasks go.


-Geoff Moehrke



More information about the a6 mailing list