Synthesizing speech with pyTTSA tutorial on using Microsoft SAPI in Pythonby Peter ParenteLast updated 2/17/05 for pyTTS 3.0AbstractThe pyTTS module wraps the text-to-speech services of the Microsoft
我发现使用win32com调用TTS只有三四行代码就行了; import win32com.client s='hello' speaker = win32com.client.Dispatch('SAPI.SpVoice')speaker.Speak(s)
Copyright © 2005-2023 51CTO.COM 版权所有 京ICP证060544号