Forum Rule: Always post complete source code & details to reproduce any issue!
Results 1 to 3 of 3

Thread: Audioboard (CS42448) running 24 bit

  1. #1
    Junior Member
    Join Date
    Mar 2020

    Audioboard (CS42448) running 24 bit

    I am currently working with the audioboard from oshpark and I am wondering how you could set the ADCs sampling resolution as well as the DACs resolution to 20/24-bit. As far as I have been able to see (correct me if I am wrong) on this board, there isn't really any built in way of setting the ADC and DAC resolution.

    If anybody knows a way to do this it would be nice! Thank you beforehand.

  2. #2
    Senior Member+ Frank B's Avatar
    Join Date
    Apr 2014
    Germany NRW
    If that's the case, I'd assume it is always 24 Bit , and the audio library just takes the upper 16. So you need your own code.

  3. #3
    Senior Member
    Join Date
    Aug 2016
    Yes, the sample-width settings are for how the signals are transmitted, rather than the native sampling accuracy.

    Paul has set the transmission mode to TDM (24 bits in a 32 bit frame), and the extra 8 low-order bits appear at the TOP of the odd numbered channels in the TDM input object, and can be inserted the same way into the output object - making up a full 24 bit sample with a some 8 bit shifting: channel[n] << 8 & channel[n+1] >> 8.

    I hope this helps.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts