📜  如何制作 gtts 文本到语音转换器 - Python 代码示例

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

代码示例1
from gtts import gTTS
import os 

text = " python is the most easiest programing language "

language = "en-us"
roh = gTTS( text = text , lang = language , slow = False)
roh.save("play.mp3")
os.system(" start play.mp3")