Closed mungewell closed 3 years ago
Found that I had the format of the packing wrong.
This didn't stop this issue, but it look like the encoder samples in Factory pack are cropped from longer set. Meaning that last byte(s) contain data from a sample after the crop point. Think that this is a non-issue.
The format is apparently a little odd, in that each sample's block of encoded data is prefixed by 2 bytes. I have attempted to account for this allowing the structure to 'add-up', however may be wrong with my understanding....
When rebuilding the encoded sample (2x 12bit packed into 24bit/3bytes) sometime the last byte does not match the original.
For example (Factory.DFU):
This is just before the 4th sample data...