in reply to Text to Speech

Does your soundcard work with any other program? I had a similar problem and the popping noise was caused by an irq conflict between my soundcard and the parallel port. Changing the irq from 7 to 5 fixed it in that case.

If your soundcard works, are you sure you installed the MS-Agent software correctly? The article says some people had problems until they installed the entire package.

Can you get any other program to speak?

Last (but not least) is the code you're trying to run. We can't do much to help until we see what you're trying to run. Post a snippet here if you could, please.

HTH

Replies are listed 'Best First'.
Re: Re: Text to Speech
by mdog (Pilgrim) on Jan 10, 2001 at 06:25 UTC
    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!