Re: [Carbon] Using Speech in Cocoa
Re: [Carbon] Using Speech in Cocoa
- Subject: Re: [Carbon] Using Speech in Cocoa
- From: Manfred Schubert <email@hidden>
- Date: Sun, 30 Sep 2001 23:33:20 +0200
SpeakString takes Pascal strings as argument.
Am Sonntag, 30. September 2001 um 22:31 schrieb Cyril Godefroy:
I've just started playing around with SpeechSynthesis from one of my
cocoa docklings. What I understand is that I simply need to call
SpeakString (SpeakString([AlarmTitle cString]);) to have the default
voice telling me something. Unfortunately, what it doesn't say what it
should ('Time to go home'), but rather something like 'loren bfx qt".
And if I call the string directly(SpeakString ("Time to go home"), I
get "Time to go home as in FulScreenView" which happens to be the name
of the class. Weird huh?
I've looked at the SpeechUtilities framework, but I don't want to
compromise my sanity with using a framework that's not standard and
having to either install it or bundling it with my dockling.
So, anyone has an explanation why I have junk speech? (I hope Raphael
Sebbe reads this list).
Who is Raphael Sebbe?
Manfred