rany2 / edge-tts

Use Microsoft Edge's online text-to-speech service from Python WITHOUT needing Microsoft Edge or Windows or an API key
https://pypi.org/project/edge-tts/
GNU General Public License v3.0
4.21k stars 444 forks source link

More Audio file format options #179

Closed bobir01 closed 1 month ago

bobir01 commented 5 months ago

I would like use more appropriate file formats such as .ogg, .flac, .wav This is feature requests

xiaobili commented 4 months ago

The audio bitrate and format in the code seem to be hardcoded. I hope to support custom audio bitrates in the next version.

rany2 commented 4 months ago

Unfortunately, it is hardcoded because their API refuses to use other formats.

bobir01 commented 4 months ago

@rany2 aha, thanks for response!