FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Has anybody tried Text2Speach using FWH ?
Posts: 654
Joined: Fri Oct 21, 2005 05:54 AM

Has anybody tried Text2Speach using FWH ?

Posted: Thu Jan 04, 2007 04:12 PM
Hi all


Has anybody tried Text2Speach using FWH ?


Thanks

- Ramesh Babu
Posts: 128
Joined: Mon Jul 31, 2006 03:23 PM

Has anybody tried Text2Speach using FWH ?

Posted: Thu Jan 04, 2007 04:35 PM

Mr. Ramesh

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

Best Regard
Areang

Posts: 9022
Joined: Thu Oct 06, 2005 08:17 PM

Re: Has anybody tried Text2Speach using FWH ?

Posted: Thu Jan 04, 2007 04:41 PM
This is a working sample:

FUNCTION MAIN()

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

    oSpeech:Speak( "This is a test" )

    RETURN NIL


EMG
Posts: 654
Joined: Fri Oct 21, 2005 05:54 AM

Has anybody tried Text2Speach using FWH ?

Posted: Thu Jan 04, 2007 04: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
Posts: 663
Joined: Mon Dec 05, 2005 11:22 PM

Has anybody tried Text2Speach using FWH ?

Posted: Thu Jan 04, 2007 04:53 PM

It works ok for me with xhb and Windows XP Professional

Posts: 9022
Joined: Thu Oct 06, 2005 08:17 PM

Has anybody tried Text2Speach using FWH ?

Posted: Thu Jan 04, 2007 04:55 PM

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

Search for spchapi.exe in the MS website.

EMG

Posts: 654
Joined: Fri Oct 21, 2005 05:54 AM

Has anybody tried Text2Speach using FWH ?

Posted: Thu Jan 04, 2007 04: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
Posts: 654
Joined: Fri Oct 21, 2005 05:54 AM

Has anybody tried Text2Speach using FWH ?

Posted: Thu Jan 04, 2007 05: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
Posts: 9022
Joined: Thu Oct 06, 2005 08:17 PM

Has anybody tried Text2Speach using FWH ?

Posted: Thu Jan 04, 2007 05:29 PM

I don't know, sorry.

EMG

Posts: 4840
Joined: Fri Nov 18, 2005 04:52 PM

Has anybody tried Text2Speach using FWH ?

Posted: Thu Jan 04, 2007 06:35 PM

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

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

James

FWH 18.05/xHarbour 1.2.3/BCC7/Windows 10
Posts: 3107
Joined: Fri Oct 07, 2005 06:28 PM

Has anybody tried Text2Speach using FWH ?

Posted: Thu Jan 04, 2007 10:51 PM

you must have stm.dll
the txt2speeck class work fine on xp home, xp professional sp2

Best Regards, Saludos



Falconi Silvio
Posts: 310
Joined: Sun Jan 08, 2006 10:09 PM

Has anybody tried Text2Speach using FWH ?

Posted: 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

Posts: 3107
Joined: Fri Oct 07, 2005 06:28 PM

Has anybody tried Text2Speach using FWH ?

Posted: 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
Posts: 933
Joined: Sun Oct 09, 2005 01:05 PM

Has anybody tried Text2Speach using FWH ?

Posted: Fri Jan 05, 2007 01:57 AM

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

Thanks,
Jeff

Thanks,

Jeff Barnes



(FWH 16.11, xHarbour 1.2.3, Bcc730)
Posts: 654
Joined: Fri Oct 21, 2005 05:54 AM

Has anybody tried Text2Speach using FWH ?

Posted: Fri Jan 05, 2007 03: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