Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re^2: Text to Speech Win32::OLE Error

by TROGDOR (Scribe)
on Nov 02, 2004 at 00:11 UTC ( #404471=note: print w/replies, xml ) Need Help??


in reply to Re: Text to Speech Win32::OLE Error
in thread Text to Speech Win32::OLE Error

Hi Tachyon,

Thanks for the suggestion. However, I know that TTS is already installed on my system. I'm pretty sure it ships standard with XP. In the control pannel, I can select "Speech", and preview the installed "LH Michael", "LH Michelle", and "Microsoft SAM" voices. Also, in Acrobat I can select View->Read Out Loud, and the page is spoken. So the TTS is there, I'm just not calling it right. Any idea how I can figure out the magic string?

Speak friend and enter?

Thanks, TROGDOR

Replies are listed 'Best First'.
Re^3: Text to Speech Win32::OLE Error
by Jouke (Curate) on Nov 02, 2004 at 10:52 UTC
    You're using Windows XP, which has SAPI5 installed by default. However, the class you're trying to load is SAPI4. Even if you'd install the SAPI4 runtime, you still won't be able to use the voices you mentioned, since SAPI5 voices can't be used in SAPI4.
    I recommend you use Win32::SAPI5. It does the hard work for you.

    Kind regards,


    Jouke Visser
    Using Perl to enable the disabled: pVoice

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://404471]
help
Chatterbox?
Tanktalus has to figure out why his cb talker isn't working :(
[choroba]: https?
[choroba]: That was at least why my cb talker wasn't working.
[Tanktalus]: curious, then, why the reader works :)
[Tanktalus]: or posting the last hour of cb... well, maybe I should double check that first :)
[Tanktalus]: yup, it's working. :)
[choroba]: https://github. com/choroba/pm-cb/ commit/7b57f513596 7bf8a29d74f1c307de 9a76894cdcf
[choroba]: Also, a thread here on PM mentioned that one of perlmonks.com or www.perlmonks.com should now work

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (5)
As of 2018-07-15 21:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    It has been suggested to rename Perl 6 in order to boost its marketing potential. Which name would you prefer?















    Results (326 votes). Check out past polls.

    Notices?