You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi Phil,
first of all thanks for making the audiotools and the snapclient!
I am trying to get this to work on the "louder ESP32" boards to replace a few raspberry pi based clients around the house.
I got the DAC working via I2C already.
What I can't get to work so far is synchronous playback. It seems that there is a non constant offset between the arduino-snapclient to my other snapclients which seems uncontrollable for me.
Also depending on the settings I played around with so far (enablint/disabling PSRAM, RTOS, Sync-Algorhithms, ...) I allways get a varying degree of noise/stuttering/slow-mo-playback.
The ESP-board has PSRAM available but I am unsure how to make use of it to reduce stuttering. I must confess I don't quite understand the different buffers and timings that can be defined at different places.
Logging is set to warning, so that shouldn't cause the stuttering.
I would also rule out wifi as an issue, as the snapclient implementation form Carlos works at the same spot in my house.
Could you have a look at my sketch and maybe hint me towards where I can improve things?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi Phil,
first of all thanks for making the audiotools and the snapclient!
I am trying to get this to work on the "louder ESP32" boards to replace a few raspberry pi based clients around the house.
I got the DAC working via I2C already.
What I can't get to work so far is synchronous playback. It seems that there is a non constant offset between the arduino-snapclient to my other snapclients which seems uncontrollable for me.
Also depending on the settings I played around with so far (enablint/disabling PSRAM, RTOS, Sync-Algorhithms, ...) I allways get a varying degree of noise/stuttering/slow-mo-playback.
The ESP-board has PSRAM available but I am unsure how to make use of it to reduce stuttering. I must confess I don't quite understand the different buffers and timings that can be defined at different places.
Logging is set to warning, so that shouldn't cause the stuttering.
I would also rule out wifi as an issue, as the snapclient implementation form Carlos works at the same spot in my house.
Could you have a look at my sketch and maybe hint me towards where I can improve things?
This is my snapserver.conf:
And this is my sketch:
Thanks a lot!
Beta Was this translation helpful? Give feedback.
All reactions