Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Add-Type –AssemblyName "System.Speech"
- $SpeechSynthesizer = New-Object –TypeName "System.Speech.Synthesis.SpeechSynthesizer"
- $SpeechSynthesizer.SetOutputToWaveFile('C:\Temp\jure.wav')
- $SpeechSynthesizer.Speak("J'ai juré.")
Advertisement
Add Comment
Please, Sign In to add comment