Hi,
at the example https://github.com/JayShoe/esp32_T4_bt_music_receiver of JayShoe the Teensy input I2S slave and the ESP32 is master. I also think that the ESP32 does something to the clock lines, when it is paused. I think it would not be a problem if the bit and word clock of the ESP32 would keep running and the data would just be 0 during the ESP32 is paused. By the way, how did you pause the ESP32? I always let it run and pause the playback at the notebook.
@Jay: I had a look at the Teensy4.ino file of you example:
Code:
bool dither = false;
bool noiseshaping = false;
float attenuation = 100;
int32_t minHalfFilterLength=80;
int32_t maxHalfFilterLength=1;
AsyncAudioInput<AsyncAudioInputI2S2_16bitslave> i2sSlaveInput(dither, noiseshaping, attenuation, minHalfFilterLength, maxHalfFilterLength);
It is not a problem but maxHalfFilterLength overules minHalfFilterLength and the interpolation filter therefore only has a total length of 3. So it is really short and the resampling quality is consequently quite low. But if you set the values on purpose, then it's fine of course.
Alex