📜  文本到声音 python 代码示例

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

代码示例1
#pip3 install pyttsx3
#apt-get install alsa-utils
import pyttsx3, time 
engine = pyttsx3.init() 
engine.say("Hi, I am text to speach") 
engine.runAndWait()