On Thu, Jul 23, 2009 at 3:00 PM, Brian Heibert <heib...@me.com> wrote:
> How can I get my program to speak something > like a string of text? > > I am writing this program in a BASIC language why is it relevant here > because I am using _PASSTHROUGH code that > is Objective C > > I can handle putting the code in the passthrough > but what I don't know is the Objective C code for speaking text > I am not using Interface Builder > > Here is a example of how to get the data from the basic program > > #if def _PASSTHROUGHFUNCTION > // put objective C code here > long functionname > { > // put objective C code here > } > #endif > > //Here is the toolbox call to call the function > > toolbox fn functioname > > window 1 > > print fn functionname > > do > handleevents > until (gFBQuit) > > // All I really want to do is use the speech synthesizer from C to speak > some text > /// so I need the C command to speak some text > > > Brian > > Please check the API documentation for NSSpeechSynthesizer. Good luck, -Conrad > > _______________________________________________ > > Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) > > Please do not post admin requests or moderator comments to the list. > Contact the moderators at cocoa-dev-admins(at)lists.apple.com > > Help/Unsubscribe/Update your Subscription: > http://lists.apple.com/mailman/options/cocoa-dev/conradwt%40gmail.com > > This email sent to conra...@gmail.com > _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com