Add example for getting a voice for language

This commit is contained in:
Vuizur
2023-01-04 20:51:30 +01:00
parent 0dc5154b06
commit 4b529c8f2b
2 changed files with 27 additions and 0 deletions

View File

@@ -84,6 +84,7 @@ In addition, it is required to use `--pitch=-10Hz` instead of `--pitch -10Hz` ot
It is possible to use the `edge-tts` module directly from Python. For a list of example applications:
* https://github.com/rany2/edge-tts/blob/master/examples/example.py
* https://github.com/rany2/edge-tts/blob/master/examples/dynamic_voice_selection.py
* https://github.com/rany2/edge-tts/blob/master/src/edge_tts/util.py
* https://github.com/rany2/edge-srt-to-speech/blob/master/src/edge_srt_to_speech/__main__.py
* https://github.com/hasscc/hass-edge-tts/blob/main/custom_components/edge_tts/tts.py