Finity-Alpha / OpenVoiceChat

Have a natural voice conversation with an LLM
http://www.finityalpha.com/OpenVoiceChat/
Apache License 2.0
39 stars 12 forks source link

Web api #23

Closed fakhirali closed 1 month ago

fakhirali commented 1 month ago

Trying to make a websocket endpoint.

fakhirali commented 1 month ago

Audio is played back all at once. We need client-side buffers!

fakhirali commented 1 month ago

Everything works. Multiple websockets also work thanks to fastapi ig. Need to figure out how to do the wait call.

fakhirali commented 1 month ago

Also need to figure out chunk sizes and sample rate etc.

fakhirali commented 1 month ago

How do I wait tho? Something sent back from the client? Time it out?

fakhirali commented 1 month ago

Runs on ngrok pretty fine. Probably needs refactoring. Next steps would be to improve the web ui and packaging the client-side code.