Skip to content
This repository has been archived by the owner on Aug 21, 2024. It is now read-only.

Add support for opus instead of mp3 for Google TTS #50

Open
kelciour opened this issue Apr 13, 2021 · 0 comments
Open

Add support for opus instead of mp3 for Google TTS #50

kelciour opened this issue Apr 13, 2021 · 0 comments

Comments

@kelciour
Copy link
Owner

From the review section.

Could you add support for opus instead of mp3? it gives a lot better quality audio from Google TTS. I've changed the line in googletts.py from "audioEncoding": "MP3" to "audioEncoding": "OGG_OPUS" it gives opus but AwesomeTTS gives wrong extension mp3 to it even thought is opus. Anki on desktop can still play it even with wrong extension but not on mobile. So please fix it and allow to change it to opus.ogg for maximum compatibility (android 7 requires opus.ogg to play opus files)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant