• 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
NSSpeechSynthesizer/UKSpeechSynthesizer speechSynthesizer:didFinishSpeaking: called immediarely
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSSpeechSynthesizer/UKSpeechSynthesizer speechSynthesizer:didFinishSpeaking: called immediarely


  • Subject: NSSpeechSynthesizer/UKSpeechSynthesizer speechSynthesizer:didFinishSpeaking: called immediarely
  • From: Ben Lachman <email@hidden>
  • Date: Thu, 13 Mar 2008 05:27:49 -0400

According to the NSSpeechSynthesizer docs:

speechSynthesizer:didFinishSpeaking: is invoked when the speaking of the string ends. The second parameter of this method indicates whether the text was entirely spoken or was disrupted (as might happen if the user dismisses a spoken alert).

This make me think that I should get my delegate method called when the speech stops in the users perception. However in my code I have it speak fairly long strings and the didFinishSpeaking: delegate method gets called back almost immediately. Is this correct behavior? I tried Uli's UKSpeechSynthesizer replacement for NSSpeechSynthesizer, but it seems to have the same issues. If this is the correct behavior, is there a way to figure out when the speech is actually done form the user's perspective (ie the audio output actually stops)? I'm trying to get a slide show type animation synced with speaking text and if I can't find out when the speech is done I'm not sure how I'm going to advance the animation at the correct time.

Thanks,

->Ben

--
Ben Lachman
Acacia Tree Software

http://acaciatreesoftware.com

email@hidden
740.590.0009



_______________________________________________

Cocoa-dev mailing list (email@hidden)

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:
This email sent to email@hidden


  • Follow-Ups:
    • Re: NSSpeechSynthesizer/UKSpeechSynthesizer speechSynthesizer:didFinishSpeaking: called immediarely
      • From: Paul Bruneau <email@hidden>
  • Prev by Date: Re: performSelectorOnMainThread problem
  • Next by Date: Re: What is the status on the New Cocoa 2.0 Books?
  • Previous by thread: Re: Core Data - Cascading Not Working? (William Hunt) <SOLVED>
  • Next by thread: Re: NSSpeechSynthesizer/UKSpeechSynthesizer speechSynthesizer:didFinishSpeaking: called immediarely
  • Index(es):
    • Date
    • Thread