ChuckMash

Results 39 comments of ChuckMash

I've run into the same issue using ESP8266 D1 Mini. The solution for me was to *decrease* the size of the buffer rather than increase it. For ESP32 I was...

Some more information: The click remains when trying with other generator file formats. If I set stub[0] (background audio) to gain of 0, it sounds like there is no click....

The issue seems to be from SetRate() Found a workaround in #329 By adding custom AudioOutput layer AudioOutputFixedRates between each generator and mixer stub, the click is removed.

PR #656 fixes the above issue by adding a quick check to see if rate actually needs updating or if it matches what is currently set, eliminating the issue as...

Might also be useful in AudioOutputPWM.cpp and AudioOutputSPDIF.cpp, but I am unable to check those at the moment.

> The patch will likely have negative effect for 44100 Hz sample rate setting I am using 44100 Hz sample rate, with no ill-effects. In this case, the default i2s...

https://github.com/earlephilhower/ESP8266Audio/issues/406#issuecomment-1736466226 is relevant. This user also suggests not calling SetRate unnecessarily to avoid a noisy click.

Did you ever find a solution for this? I would start by looking around https://github.com/earlephilhower/ESP8266Audio/blob/master/src/AudioOutputI2S.cpp#L326 and i2s_write

Look like you could just be able to pass 'a' right to publish without using String https://github.com/plapointe6/EspMQTTClient/blob/master/src/EspMQTTClient.cpp#L421 Maybe just ``` uint8_t a[8] = {48, 49, 50, 0, 51, 52, 0,...

I am having the same experience, using yield instead of esp_yield is working, but I am uncertain as to best practices. The code for esp32 uses taskYIELD and only further...