タグ別アーカイブ: PowerShell

Iが付いてないKDD


1 [Reflection.Assembly]::LoadWithPartialName("Microsoft.Speech")
2 $speak = New-Object Microsoft.Speech.Synthesis.SpeechSynthesizer
3 $speak.Rate = 1  # from -10 to 10, default is zero.
4 $speak.SetOutputToWaveFile("zerozerowonderful.mp3")
5 $speak.SelectVoice("Microsoft Server Speech Text to Speech Voice (en-US, Helen)")
6 $speak.Speak("zero zero")
7 $speak.Speak("wonderful")
8 $speak.Dispose()

続きを読む Iが付いてないKDD