Skip to content
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

Issues with audio output on Windows when not using fallback mode. #2

Open
valknight opened this issue May 10, 2021 · 2 comments
Open
Assignees
Labels
bug Something isn't working

Comments

@valknight
Copy link
Owner

Describe the bug
Audio output works ok on macOS, but, on Windows the same is not present. FFmpeg & FFPlay is installed on both Windows and Mac, as the fallback mode works fine.

To Reproduce

  1. Turn fallback mode off
  2. Try sending message in chat
  3. Program quits without any error

Expected behavior
TTS output to play.

Platform being used
Windows

Python version
Python 3.9.2 (tags/v3.9.2:1a79785, Feb 19 2021, 13:44:55) [MSC v.1928 64 bit (AMD64)]

@valknight valknight added the bug Something isn't working label May 10, 2021
@valknight valknight self-assigned this May 10, 2021
@mogoh
Copy link
Contributor

mogoh commented Oct 14, 2021

I was able to make it run under Windows, but it is far from ideal.

pydub suggests installing simpleaudio.
But simpleaudio requires "Microsoft C++ Build Tools".
Now there are a ton of different "Microsoft C++ Build Tools".
I have installed them as discribed here: https://stackoverflow.com/questions/64261546/python-cant-install-packages/64262038#64262038
But this was several GB in size, and I don't know what is really needed.

I have created an Issue over at hamiltron/py-simple-audio#58

@valknight
Copy link
Owner Author

Oh christ, that's... one hell of a rabbithole. thanks for doing the digging there! might explore seeing if there's a better alternative to pydub / simpleaudio i could use here that isn't the fallback mode

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants