Has anybody tried Text2Speach using FWH ?
Thanks
- Ramesh Babu
Has anybody tried Text2Speach using FWH ?
Mr. Ramesh
I did for Cash Register System to say amount of payment.
Best Regard
Areang
FUNCTION MAIN()
LOCAL oSpeech := CREATEOBJECT( "Sapi.SPVoice" )
oSpeech:Speak( "This is a test" )
RETURN NILIt works ok for me with xhb and Windows XP Professional
The sample works perfectly but you obviously have to install SAPI.
Search for spchapi.exe in the MS website.
EMG
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
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
I don't know, sorry.
EMG
>And please guide me how to change to voice, speed and
other controls ?
Control Panel-Sounds, speech, and audio devices...
James
you must have stm.dll
the txt2speeck class work fine on xp home, xp professional sp2
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
if you go at http://www.microsoft.com/msagent/downloads/user.asp
you can found all these files
Is it possible to change the "voice" from within FWH ?
Thanks,
Jeff
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.