I use VSCode with the platformio extension, use the object-oriented paradigm (even for classes that I know will have only 1 instance) and modern c++ when libraries allow it (so, not a lot), and have my own private repository to put classes that I...
You need something like this:
which exports to this:
#include <Audio.h>
#include <Wire.h>
#include <SPI.h>
#include <SD.h>
#include <SerialFlash.h>
// GUItool: begin automatically generated code
AudioInputTDM tdm1...
@caleb - still interested in this ...
@jbax - the 16- to 32-bit translation is handled in the TDM driver ... sort of. You just have to use only the even-numbered inputs on the TDM objects. Seems to work for quite a few TDM parts, though some...
Just found this one, after a lot of head-scratching. I've done PR#472 for it. The copy from the 16 incoming audio blocks to the output buffer was copying twice as much as it should have, so the second half (presumably garbage) was overwriting...
Wow thanks ! I think you saved me hours of searching for a bug in my code and/or PCB when there was none.
So, I can confirm that this solved an issue where noise was present on all outputs of a codec connected to the TDM2/SAI2 port overwhelming...
Yeah, the 16 bit limitation is a real problem for recording. It's pretty much fine for playback though, but recording just requires a bigger dynamic range the gains won't be perfectly optimized.
I honestly don't remember -- lots of channels...