01 icon indicating copy to clipboard operation
01 copied to clipboard

Audio continues to cut out mid response

Open mdwoicke opened this issue 10 months ago • 2 comments

The response audio continues to cut out mid response. I have tried running on 3 different M5 Stack Atom Picos thinking there could be an issue with my ESP32 audio dev kit device speaker but all are producing the same results. Not sure if it could be an audio buffer issue or not. I will be more than happy to test any patches you might be working on.

P.S. Awesome work! I enjoyed getting this project up and working. Definitely see this project becoming the standard to develop on.

mdwoicke avatar Apr 11 '24 13:04 mdwoicke

Just curious if anyone has encountered this issue as well or if it's perhaps some issue on my end.

mdwoicke avatar Apr 20 '24 16:04 mdwoicke

I did some additional testing today by hooking up a speaker to my Orange Pi which hosted the server code. It appears that the audio Response keeps flipping websocket channels for some reason. The response appeared to be cutting off mid response originally but it appears that was because part of the audio bytes were being directed to the server and not the client device which was my Atom5 Dev Speaker. Very strange. Not sure how this is possible but maybe others have encountered this issue as well and this might shed some light on the cause of audio cutting out for them too. No pun intended. Lol

mdwoicke avatar Apr 21 '24 01:04 mdwoicke