Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Carbon] Using Speech in Cocoa



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).




Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.