【发布时间】:2018-12-12 03:42:30
【问题描述】:
有人知道如何在这个 tts powershell 命令中改变声音吗?
-Powershell Command Add-Type -AssemblyName System.Speech
$Speaker = New-Object -TypeName System.Speech.Synthesis.SpeechSynthesizer
$Speaker.Speak('oh my god, I can now talk; it''s amazing!')
并且它需要尽可能小,因为我使用 pythons os.system() 命令来实现它
【问题讨论】:
-
According to the documentation:这很容易实现。
标签: python windows powershell text-to-speech