Hi, I have an application wherein it would be useful to be able to play back a wav file with more than 2 channels of audio from an SD card. I have an 8 channel TDM codec board (based on Paul's design, thanks Paul!) and would like to use it to play back spatial audio mixes. I'd like to read the wav as one file (rather than 4 2 channel wav files or 8 1 channel files) to ensure proper sync and avoid delay / phasing issues.

I'm wondering how difficult it would be to write a custom audio library object to do this, I've already looked a little bit at the code for playSDWav on github, but any advice / guidance y'all could provide before I dive in would be helpful.