Yes, my soundcard works...
When I use the SpeechControlPanel to modify the properties of each speech engine, I can get the text to speech to work fine in there.
I am pretty sure that I install MS-Agent properly as I get the engines to work fine in the Control Panel. I don't see on the MS-Agent download page a place to install the entire package. I just see individual components to add in. I added all of them hoping that would fix it.
As for the code that I am running:
use strict;
use Win32::OLE;
my $voice;
$voice = Win32::OLE->new("Speech.VoiceText") or die("TTS failed");
$voice->Register("", "perl");
$voice->{Enabled} = 1;
$voice->speak("hello world", 1);
I appreciate the input and if anyone has any more suggestions, that would be great.
Thanks! |