where is César E. Lozada ?

Post Reply
User avatar
Silvio
Posts: 3107
Joined: Fri Oct 07, 2005 6:28 pm
Location: Teramo,Italy

where is César E. Lozada ?

Post by Silvio »

Cesar can you send me your tts class please ?
Best Regards, Saludos

Falconi Silvio
User avatar
César E. Lozada
Posts: 128
Joined: Wed Oct 26, 2005 12:18 pm
Location: Los Teques, Miranda, Venezuela

Re: where is César E. Lozada ?

Post by César E. Lozada »

Silvio:

This class worked with FWH2.7+XH099.5 and I can't make it run with newer FWH/xH versions.

I'm trying to adapt it. If I success, I'll post a link for you download it.

Regards.
User avatar
Silvio
Posts: 3107
Joined: Fri Oct 07, 2005 6:28 pm
Location: Teramo,Italy

Re: where is César E. Lozada ?

Post by Silvio »

thanks
My problem is this on newest fwh not run, perhaps it can be compiled but then the exe make gpf

I need it for mine dyslexic boy at school ....

can you try to save the sound text on Mp3 file or another sound format ?
Best Regards, Saludos

Falconi Silvio
User avatar
César E. Lozada
Posts: 128
Joined: Wed Oct 26, 2005 12:18 pm
Location: Los Teques, Miranda, Venezuela

Re: where is César E. Lozada ?

Post by César E. Lozada »

Silvio:
I found another way to implement voices. You need:

1) google, download and INSTALL sapi5x.exe (I installed sapi51.exe)
2) download TTS voices in desired langauges (I found a lot of them in http://www.vioio.com/voices.htm). But you can also use a paid high quality commercial voice.


Here is the code:

//Create
oVoice:=CreateObject("Sapi.SpVoice")

// Installed voices description
nTotalVoices := oVoice:GetVoices():Count() //Number of installed voices
aV:={}
FOR i:=0 TO nTotalVoices-1
o:=oVoice:GetVoices()
aAdd(aV,o:GetDescription())
NEXT

//Select voice nVoice
oVoice:Voice:=oVoice:GetVoices()[nVoice] //nVoice=0..nTotalVoices-1
SysRefresh()

//Configure
oVoice:Volume:=100 //0..100
oVoice:Rate:=0 //-10..10 (Speed)

//Actions
oVoice:Speak(cText)
oVoice:Pause()
oVoice:Resume()

More information about sapi.svoice in:
http://msdn.microsoft.com/en-us/library ... 85%29.aspx

Tested working with FWH1007+xH1.216633+BCC55 in WinXP-SP3. No time for write a class (sorry).
Regards
César Lozada.
User avatar
Silvio
Posts: 3107
Joined: Fri Oct 07, 2005 6:28 pm
Location: Teramo,Italy

Re: where is César E. Lozada ?

Post by Silvio »

thanks

I try to modify your old class

but I need also the picth command

I found this page

http://www.microsoft.com/downloads/en/d ... laylang=en

and I saw on the chm file there are many other commands perhaps you can see if we can save it unto a wave format or mp3 format.

I 'm thinking you are only the best to see if it is possible because you Know the sapi commands good more than us
I hope you found time for help us ...
Best Regards, Saludos

Falconi Silvio
triumvirato
Posts: 199
Joined: Tue Apr 22, 2008 9:54 am
Location: Valladolid, Spain.

Re: where is César E. Lozada ?

Post by triumvirato »

Silvio,

Look at this http://forums.fivetechsupport.com/viewt ... voz#p68640

In the last sample there is a way to redirect the output to a wav file. Is very simple.

If anything more I can help or if something do not understand ... here I am.
Post Reply