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

GPU voice render #191

Closed Ranzie12 closed 4 months ago

Ranzie12 commented 4 months ago

Is there a possibility I can run the Edge TTS code on a CUDA GPU to render the voice at a faster rate? also how can i know what are the list of voices in this package

rany2 commented 4 months ago

No, it uses the online service only. You could use edge-tts -l for cli or something similar to this code snippet from library: https://github.com/rany2/edge-tts/blob/5b7add93b9f64c27b5ed7138c30a1a4f25ba6a9d/src/edge_tts/util.py#L15