danmechanic / glucid

Provides a Python api and simple CLI interface to the Lucid 8824 AD/DA audio converter via its RS232 Serial Connection
GNU General Public License v3.0
1 stars 1 forks source link

channel numbers are reversed! #5

Closed danmechanic closed 5 years ago

danmechanic commented 5 years ago

Set Analog I/O Gain : F0 00 00 5E 58 x 30 z1 z2 .. z16 F7

where z1 through z16 is the analog gain/attenuation for each analog I/O channel, ordered with inputs first, then outputs, and reverse ordered from channels 8 through 1 for both inputs and outputs.

... currently setting channel 1 is actually making gain changes to 8, and so on...

danmechanic commented 5 years ago

Ok... since it was so far down the line.... I simply re-order the list immediately after reading it from the lucid and immediately before writing it.

Fixing in 0.4.0