Skip navigation.
 
mlRe: Speech Recognition / Synthesis Cocoa APIs ??? Where ?????
FROM : ssudre2
DATE : Sat Nov 02 17:15:09 2002

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_removed> 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_removed>
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

Related mailsAuthorDate
mlSpeech Recognition / Synthesis Cocoa APIs ??? Where ????? ssudre2 Nov 2, 15:11
mlRe: Speech Recognition / Synthesis Cocoa APIs ??? Where ????? j o a r Nov 2, 15:41
mlRe: Speech Recognition / Synthesis Cocoa APIs ??? Where ????? David Remahl Nov 2, 15:49
mlRe: Speech Recognition / Synthesis Cocoa APIs ??? Where ????? ssudre2 Nov 2, 16:11
mlRe: Speech Recognition / Synthesis Cocoa APIs ??? Where ????? j o a r Nov 2, 16:49
mlRe: Speech Recognition / Synthesis Cocoa APIs ??? Where ????? ssudre2 Nov 2, 17:15