Groups > Microsoft > Microsoft Agent > Re: SAPI4 Question




SAPI4 Question

SAPI4 Question
Wed, 16 Apr 2008 14:43:44 -070
How do I set the default voice for SAPI4? Unlike SAPI5 where you can
even do a test sentence there does not appear to be a way to select
the voice! I am using AT&T voices but I cannot select them in my
software or on the control panel. I have a Microsoft agent2
application using VB .net on XP.

I know the voces work since I can test them individually doing the
pronounciation thing though it appears to default to a voice I don't
want.Failing that can I do an enum thing in VB .net for SAPI4?

The problem I have is that the voice on SAPI4 defaults to a male voice
and I need a female one.
The female one is installed and I can see it in the control panel for
SAPI4 - but how can I select it as default?

I also use SAPI5 at the same time for recognition but I don't have to
use it for text to speech.
I found I can use both SAPI5 and SAPI4 on the same program but it's
just that I cannot select the voice on SAPI4. On SAPI5 I can select
any voice I like both in software and the control panel.

Thanks

Post Reply
Re: SAPI4 Question
Thu, 17 Apr 2008 03:31:20 -070
<kronecker@yahoo.co.uk> wrote in message 
news:c7c2aa5e-3152-4c5c-b8a2-0e2f81b100a7@f36g2000hsa.googlegroups.com...

> How do I set the default voice for SAPI4?

Each MSAgent character that supports TTS has its own default voice defined 
at the time it is compiled by its author.  If that voice is installed on 
your machine, it will be used, unless the application/script overwrites it 
before speaking by setting the character's TTSModeID property to the desired 
voice.  Otherwise, MSAgent uses the character's compiled TTS information to 
find the closest match from the available voices.

> I also use SAPI5 at the same time for recognition but I don't
> have to use it for text to speech.

MSAgent on XP does not support SAPI 5.  It supports SAPI 5 on Window Vista 
only.


Gambit 

Post Reply
about | contact