OpenInterpreter / 01

The open-source language model computer
http://openinterpreter.com/01
GNU Affero General Public License v3.0
4.76k stars 470 forks source link

Audio continues to cut out mid response #235

Open mdwoicke opened 2 months ago

mdwoicke commented 2 months ago

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 commented 2 months ago

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

mdwoicke commented 2 months ago

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