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.24k stars 447 forks source link

Pitch #159

Closed hobbycreator92 closed 7 months ago

hobbycreator92 commented 7 months ago

the basic_generation.py example. How can i modify the pitch?

rany2 commented 7 months ago

You'd pass a pitch kwarg to edge_tts.Communicate. Like this: https://github.com/hasscc/hass-edge-tts/blob/574673ef3ace03248b54716a5b2c1395a6afbb71/custom_components/edge_tts/tts.py#L403