I need a good and low prices TEXT to SPEECH activex/sdk that is very compatible and easy to use in Xbase++
Thanks.
Joe
I need a good and low prices TEXT to SPEECH activex/sdk
Re: I need a good and low prices TEXT to SPEECH activex/sdk
why not use Windows "build-in" Speech ?unixkd wrote:I need a good and low prices TEXT to SPEECH activex/sdk that is very compatible and easy to use in Xbase++
Code: Select all
#include "activex.ch"
#pragma library( "ascom10.lib" )
PROCEDURE Main(cText )
LOCAL oApp
LOCAL oObj
LOCAL aVoice
LOCAL cSample := "This is the Voice from X base ++"
IF PCOUNT() = 0
cText := cSample
ENDIF
oApp := CreateObject( "SAPI.SpVoice" )
IF NIL == oApp
? "Fehler: ", ComLastError()
? "Beschreibung:"
? ComLastMessage()
RETURN
ENDIF
aVoice := oApp:invoke("GetVoices",0,DISPATCH_METHOD,"Name=Microsoft mary", "Language=407")
oApp:Speak( cText )
SLEEP(100)
oApp:destroy()
RETURN
greetings by OHR
Jimmy
Jimmy
Re: I need a good and low prices TEXT to SPEECH activex/sdk
Thanks Jimmy
Works fine
Works fine
Re: I need a good and low prices TEXT to SPEECH activex/sdk
But only German words are not well understood
- there may be changes to the function call?

best regards
Hans
Hans
Re: I need a good and low prices TEXT to SPEECH activex/sdk
you have to search for SAPI 5 "Steffi" which speak "German" ...hz_scotty wrote:But only German words are not well understood- there may be changes to the function call?
remember : you have to use 32bit Version with Xbase++
greetings by OHR
Jimmy
Jimmy
Re: I need a good and low prices TEXT to SPEECH activex/sdk
does not exits, i hear both - german and englishSAPI 5

best regards
Hans
Hans
Re: I need a good and low prices TEXT to SPEECH activex/sdk
Hi Jimmy
I would like to instantiate an object of Win32_LocalTime using the CreateObject(). Where can I get the interface name like "xxxxx.yyyy" ?
Thanks.
Joe.
I would like to instantiate an object of Win32_LocalTime using the CreateObject(). Where can I get the interface name like "xxxxx.yyyy" ?
Thanks.
Joe.
Re: I need a good and low prices TEXT to SPEECH activex/sdk
hm ... that is WMI ...unixkd wrote:I would like to instantiate an object of Win32_LocalTime using the CreateObject().
i do not find Win32_LocalTime in my WMI Generator ... but i have WMI Code for Win32_TimeZone. Source Code use a lot of ot4xb as you can see.
@ MSDN http://msdn.microsoft.com/en-us/library ... 85%29.aspxunixkd wrote:Where can I get the interface name like "xxxxx.yyyy" ?
greetings by OHR
Jimmy
Jimmy