Merge pull request #17 from Clement-XVII/patch-1

Error line 26
This commit is contained in:
Markus Fleschutz 2023-04-11 19:14:09 +02:00 committed by GitHub
commit 9449cb4ea7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -23,7 +23,7 @@ try {
Add-Type -AssemblyName System.Speech
$SpeechSynthesizer = New-Object System.Speech.Synthesis.SpeechSynthesizer
$SpeechSynthesizer.SetOutputToWaveFile($tWavFile)
$SpeechSynthesizer.SetOutputToWaveFile($WavFile)
$SpeechSynthesizer.Speak($Text)
$SpeechSynthesizer.Dispose()
exit 0 # success