Has anybody tried Text2Speach using FWH ?

Has anybody tried Text2Speach using FWH ?

Postby RAMESHBABU » Thu Jan 04, 2007 4:12 pm

Hi all

Has anybody tried Text2Speach using FWH ?


Thanks

- Ramesh Babu
User avatar
RAMESHBABU
 
Posts: 625
Joined: Fri Oct 21, 2005 5:54 am
Location: Secunderabad (T.S), India

Postby areang » Thu Jan 04, 2007 4:35 pm

Mr. Ramesh

I did for Cash Register System to say amount of payment.

Best Regard
Areang
areang
 
Posts: 128
Joined: Mon Jul 31, 2006 3:23 pm

Re: Has anybody tried Text2Speach using FWH ?

Postby Enrico Maria Giordano » Thu Jan 04, 2007 4:41 pm

This is a working sample:

Code: Select all  Expand view  RUN
FUNCTION MAIN()

    LOCAL oSpeech := CREATEOBJECT( "Sapi.SPVoice" )

    oSpeech:Speak( "This is a test" )

    RETURN NIL


EMG
User avatar
Enrico Maria Giordano
 
Posts: 8718
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

Postby RAMESHBABU » Thu Jan 04, 2007 4:49 pm

Mr.Enrico

Thank you very much for your reply.

I am getting the following error with the above code.
Please look in.
[code]
Error description: Error TOleAuto/-1 Unknown error: TOLEAUTO:NEW
Args:
[ 1] = C Sapi.SPVoice
[code/]

Regards,

- Ramesh Babu P
Last edited by RAMESHBABU on Thu Jan 04, 2007 4:54 pm, edited 1 time in total.
User avatar
RAMESHBABU
 
Posts: 625
Joined: Fri Oct 21, 2005 5:54 am
Location: Secunderabad (T.S), India

Postby Gale FORd » Thu Jan 04, 2007 4:53 pm

It works ok for me with xhb and Windows XP Professional
Gale FORd
 
Posts: 663
Joined: Mon Dec 05, 2005 11:22 pm
Location: Houston

Postby Enrico Maria Giordano » Thu Jan 04, 2007 4:55 pm

The sample works perfectly but you obviously have to install SAPI.

Search for spchapi.exe in the MS website.

EMG
User avatar
Enrico Maria Giordano
 
Posts: 8718
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

Postby RAMESHBABU » Thu Jan 04, 2007 4:56 pm

Hello Mr.Gale FORd

Thank you for your reply.

I tested this in WIN98 SE after installing spchapi.exe

I think, still I am missing some thing.

Regards

- Ramesh Babu P
User avatar
RAMESHBABU
 
Posts: 625
Joined: Fri Oct 21, 2005 5:54 am
Location: Secunderabad (T.S), India

Postby RAMESHBABU » Thu Jan 04, 2007 5:22 pm

Hello Mr.Enrico

I have again tested your code in WINXP.
It is working OK in winxp.

To workwith WIN98SE, even after installing spchapi.exe
what I might be missing, can you please guide me.

And please guide me how to change to voice, speed and
other controls ?

Thanks

- Ramesh Babu P
User avatar
RAMESHBABU
 
Posts: 625
Joined: Fri Oct 21, 2005 5:54 am
Location: Secunderabad (T.S), India

Postby Enrico Maria Giordano » Thu Jan 04, 2007 5:29 pm

I don't know, sorry.

EMG
User avatar
Enrico Maria Giordano
 
Posts: 8718
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

Postby James Bott » Thu Jan 04, 2007 6:35 pm

>And please guide me how to change to voice, speed and
other controls ?

Control Panel-Sounds, speech, and audio devices...

James
User avatar
James Bott
 
Posts: 4840
Joined: Fri Nov 18, 2005 4:52 pm
Location: San Diego, California, USA

Postby Silvio » Thu Jan 04, 2007 10:51 pm

you must have stm.dll
the txt2speeck class work fine on xp home, xp professional sp2
Last edited by Silvio on Thu Jan 04, 2007 11:49 pm, edited 1 time in total.
Best Regards, Saludos

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

Postby Rochinha » Thu Jan 04, 2007 11:22 pm

Ramesh

I send to you a source code in Fivewin of TTS_Test.

This uses STM.DLL, freeware and works fine on text reading.

But to use this you need install a lot of programs about speeching.

actcnc(Microsoft Speech Engine Recognition).exe
Genie(Genie Character).exe
Lernout & hauspie TTS3000 engine.exe
Merlin
MSagent(Microsoft Agent 4.16).exe
spchapi(SAPI 4.0a Runtime).exe
spchcpl(Speech Control Panel).exe
tv_enua(Your Language Component).exe
Rochinha
 
Posts: 310
Joined: Sun Jan 08, 2006 10:09 pm
Location: Brasil - Sao Paulo

Postby Silvio » Thu Jan 04, 2007 11:51 pm

if you go at http://www.microsoft.com/msagent/downloads/user.asp

you can found all these files
Best Regards, Saludos

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

Postby Jeff Barnes » Fri Jan 05, 2007 1:57 am

Is it possible to change the "voice" from within FWH ?


Thanks,
Jeff
User avatar
Jeff Barnes
 
Posts: 929
Joined: Sun Oct 09, 2005 1:05 pm
Location: Ontario, Canada

Postby RAMESHBABU » Fri Jan 05, 2007 3:10 am

Hello Enrico, James, Rochina and Silvio

Thank you very much for your support.

I have executed the file "TTS_TEST.EXE" which was sent
by Mr.Rochina. It is working very well in WIN98SE and WINXP also.
(This means I have all the files which are supposed to be
present in my system to work with "STM.DLL")

But when I compile the same code with FWH 2.8 and
xHarbour 0.99.61 is generating an error
"This program has performed an illegal operation and
will be shut down" and getting terminated.

Mr.César Lozada has confirmed that the same code is working
with FWH27 + BCC55 + xH0.99.60 and xH0.99.70.

I don't know why the same code is not working particularly in
in FWH 2.8 + xHarbour 0.99.61 (Simplex). Our master Mr.Antonio
can only tell us.


- Ramesh Babu P
User avatar
RAMESHBABU
 
Posts: 625
Joined: Fri Oct 21, 2005 5:54 am
Location: Secunderabad (T.S), India

Next

Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 57 guests