Has anybody tried Text2Speach using FWH ?

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

Has anybody tried Text2Speach using FWH ?

Post by RAMESHBABU »

Hi all
Has anybody tried Text2Speach using FWH ?
Thanks

- Ramesh Babu
areang
Posts: 128
Joined: Mon Jul 31, 2006 3:23 pm

Post by areang »

Mr. Ramesh

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

Best Regard
Areang
User avatar
Enrico Maria Giordano
Posts: 7355
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia
Contact:

Re: Has anybody tried Text2Speach using FWH ?

Post by Enrico Maria Giordano »

This is a working sample:

Code: Select all

FUNCTION MAIN()

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

    oSpeech:Speak( "This is a test" )

    RETURN NIL
EMG
User avatar
RAMESHBABU
Posts: 591
Joined: Fri Oct 21, 2005 5:54 am
Location: Secunderabad (T.S), India

Post by RAMESHBABU »

Mr.Enrico

Thank you very much for your reply.

I am getting the following error with the above code.
Please look in.

Code: Select all

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.
Gale FORd
Posts: 663
Joined: Mon Dec 05, 2005 11:22 pm
Location: Houston
Contact:

Post by Gale FORd »

It works ok for me with xhb and Windows XP Professional
User avatar
Enrico Maria Giordano
Posts: 7355
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia
Contact:

Post by Enrico Maria Giordano »

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

Search for spchapi.exe in the MS website.

EMG
User avatar
RAMESHBABU
Posts: 591
Joined: Fri Oct 21, 2005 5:54 am
Location: Secunderabad (T.S), India

Post by RAMESHBABU »

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: 591
Joined: Fri Oct 21, 2005 5:54 am
Location: Secunderabad (T.S), India

Post by RAMESHBABU »

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
James Bott
Posts: 4654
Joined: Fri Nov 18, 2005 4:52 pm
Location: San Diego, California, USA
Contact:

Post by James Bott »

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

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

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

Post by Silvio »

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
Rochinha
Posts: 309
Joined: Sun Jan 08, 2006 10:09 pm
Location: Brasil - Sao Paulo
Contact:

Post by Rochinha »

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
User avatar
Silvio
Posts: 3107
Joined: Fri Oct 07, 2005 6:28 pm
Location: Teramo,Italy

Post by Silvio »

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
Jeff Barnes
Posts: 912
Joined: Sun Oct 09, 2005 1:05 pm
Location: Ontario, Canada
Contact:

Post by Jeff Barnes »

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


Thanks,
Jeff
User avatar
RAMESHBABU
Posts: 591
Joined: Fri Oct 21, 2005 5:54 am
Location: Secunderabad (T.S), India

Post by RAMESHBABU »

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
Post Reply