📜  如何使用 pthon 将文本转换为语音 - Python 代码示例

📅  最后修改于: 2022-03-11 14:45:05.389000             🧑  作者: Mango

代码示例1
# please subscribe my channel - https://bit.ly/2Me2CfB
from gtts import gTTS

speech = gTTS(text="hello")
speech.save('speech.wav')