-
Notifications
You must be signed in to change notification settings - Fork 453
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
FastAPI Websocket runs with worse sound quality on Windows PC vs. Mac #957
Comments
Hey, I am facing a similar kind of issue, but on Mac, the voice is breaking. |
No solution yet. It does appear to work for the Websocket class, so I am exploring using Websocket, and building it into a flask app, and forgo the FastAPI option. |
If I mute the mic, the audio output of the bot seems to work better, making me think the issue is in the VAD analyzer. I updated these things in the silero.py file and no improvements. ❌ Tried increasing the number of threads to 4 if the platform was Windows.
❌ Another thing I did was to check for zero before performing division:
|
Description
I have the same code and it seems to have a different performance on Windows machines versus a Mac.
Environment
Issue description
There is poorer sound output on windows machines than on macs.
Repro steps
index.html used to connect to above example
Expected behavior
The code should run the same on both OS's.
Actual behavior
Things appear to run smoothly on MacOS.
They sometimes start off alright on the Windows one, but eventually it gets a little disturbance that becomes a constant static within the audio.
The text was updated successfully, but these errors were encountered: