使用SAPI进行语音转换

1 from win32com.client import Dispatch
2 speaker = Dispatch('SAPI.SpVoice')
3 speaker.Speak('大家好,我是小怪兽')
4 del speaker

 

posted @ 2020-05-21 18:00  小他_W  阅读(373)  评论(0编辑  收藏  举报