• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Speech Recognition / Synthesis Cocoa APIs ??? Where ?????
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Speech Recognition / Synthesis Cocoa APIs ??? Where ?????


  • Subject: Re: Speech Recognition / Synthesis Cocoa APIs ??? Where ?????
  • From: email@hidden
  • Date: Sat, 2 Nov 2002 17:15:09 +0100

On samedi, novembre 2, 2002, at 04:49 PM, j o a r wrote:


On Saturday, Nov 2, 2002, at 16:11 Europe/Stockholm, email@hidden wrote:

Sure but it's not very elegant and useful when you just want to speak a NSString.

Why not useful? I'm not saying it's ideal in terms of where this functionality *should* be exposed in the frameworks, but compared with wrapping your head around any existing (public) speech framework just doing this:

NSTextView *textView = [[NSTextView alloc] initWithFrame: NSZeroRect];
[textView setString: @"Hello"];
[textView startSpeaking]

...seems reasonably useful to me. Unless of course there's some other functionality you're looking for?

Hum, it's as if to draw a red pixel, I was creating a NSOpenGLView with a z-buffer of 32 bits and drawing a red plane viewed from front into an offscreen buffer to then create a bitmap representation and draw it with CoreGraphics.

The "SpeechObjects.framework" seems pretty promising when you look at it through class-dump. It'll probably be made public in some future system release, but if you're impatient and don't mind using private frameworks (it's bad you know) you could probably link to it and just call:

[[NSSpeechSynthesis sharedSpeechSynthesisChannel] speakString: @"Hello"];

Looks like this is what they were speaking of.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

References: 
 >Re: Speech Recognition / Synthesis Cocoa APIs ??? Where ????? (From: j o a r <email@hidden>)

  • Prev by Date: Re: Sending an AE to select all
  • Next by Date: NSArray- help!
  • Previous by thread: Re: Speech Recognition / Synthesis Cocoa APIs ??? Where ?????
  • Next by thread: Re: Speech Recognition / Synthesis Cocoa APIs ??? Where ?????
  • Index(es):
    • Date
    • Thread