SAPI 5.x - Speaking..

Started by Tino, April 10, 2006, 07:12:01 AM

Previous topic - Next topic

Tino

An example howto let your PC speak.

kobold

It is not working on my PC  :cry: (i turnt my speakers very loud)

Tino

Hello Kobold,

Which OS, which Ver. of SAPI installed ?
(Maybe the Wave-Channel in Mixerpannel ??)

The voices can be configured with some parameters.
(But i didn´t reach to configure them via C, yet)

You can configure these parameters via system-configuration-panel.

Theses parameters implement :
Voice (there are different available for download)
Speed (very fast would maybe result in a non-hearable style)
..

I tested under WinXP-Home, too.
It run without problems.
(Was a XP-Standard-Installation no special features selected)

By the way, running Linux i found MBROLA-Project very suitable.
(maybe a hint of cross-plattform-independance)

Tino

Tino

Maybe this could help:


hr = pVoice->lpVtbl->SetVolume( pVoice, 100 );


Tino

kobold

I am using Windows 2000 Professional. I tried the speech stuff on a website and it worked (it talked to me *g*).

Where can i find out the SAPI version on my PC?
Is the stuff in the "\WINNT\Speech" dir?
There is a dll called "speech.dll", it is v 4.0.4.3405.

Where can i get the current speech package? I found almost everything on msdn/m$. (Speech api, sdk, server...? I am confused)

Tino

Hello Kobold,

Its a DLL called "sapi.dll" (speech api) found (Win98) in a "..Shared/Speech/" Directory.
I think its the one the "sapi.h" in PellesC-Includes is based of.

WindowsXP (NT-Based) and Win98 both run that dll.
(Win98 after installation of TextToSpeech-Voices)

Its a few days ago, but i think you should find the voices on Microsoft
searching for TextToSpeech.
(i found it when i installed Microsoft Reader)

Theres one ore more Items in System-Configuration-Panel called "Speech" ( i have 2 because Sapi 4 and 5 installed ).

Hope this could help.

Tino

ivanhv

By the way... does anyone know if any voice engine for Spanish language exists?

Tino

Hello ivanhv,

I don´t know about spanish voices from Microsoft,
but there seem to be some for MBROLA.

http://tcts.fpms.ac.be/synthesis/mbrola/mbrtts.html

As i mentioned above it could be a real alternative,
i installed it running Suse Linux.
The voices seem to sound much better ?!

But i haven´t used it under windows, yet.
(there are windows-projects about it)

Tino