Arduino
I2S Output of 4 Channels with an ESP32
Recently there was a discussion on how to output more then 2 channels via I2S. I2S is limited to 2 channels, but the ESP32 has 2 I2S ports, so we can output a maximum of 4 channels! Arduino Sketch I have added a small example that shows how this can be done using my AudioTools library: #include <SPI.h> #include <SD.h> #include “AudioTools.h” #include “AudioCodecs/CodecMP3Helix.h” const int chipSelect=10; AudioInfo info(44100, 2, 16); I2SStream i2s_1; // final Read more…