• 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: speechSynthesizer willSpeakWord trouble
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: speechSynthesizer willSpeakWord trouble


  • Subject: Re: speechSynthesizer willSpeakWord trouble
  • From: Paul Bruneau <email@hidden>
  • Date: Fri, 6 Jul 2007 22:19:46 -0400

On Jul 6, 2007, at 8:22 PM, Ricky Sharp wrote:

Output (I'm limiting this to only the last word) is:

Range: {15, 11}
Speaking: (null)
willSpeakPhoneme 33
willSpeakPhoneme 8
<7 more opcodes snipped>
willSpeakPhoneme 32
willSpeakPhoneme 0
didFinishSpeaking YES

the "willSpeakWord" delegate should have been given strings of "Test", "Speech" and "Synthesizer".

Ricky, thank you so much! My concern in this was that I was doing something wrong. I was only experimenting with these methods because it was fun and I wanted to make sure I was doing things (mostly) right.


When the problem first showed up, I actually thought to myself "I bet I could stash the spoken string somewhere and retrieve it to use with the correctly-returned NSRange" but I didn't want to work around my own mistake.

I didn't see the sample code that you referred to, but I'll look for it. Interesting that they worked around the situation with their own sample code! Why did they make the parameter if they were just going to leave it nil I wonder?

Thanks again!
_______________________________________________

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: speechSynthesizer willSpeakWord trouble
      • From: Andy Lee <email@hidden>
References: 
 >Re: Cocoa and dead-code stripping (From: Scott Ribe <email@hidden>)
 >Re: Cocoa and dead-code stripping (From: Alastair Houghton <email@hidden>)
 >speechSynthesizer willSpeakWord trouble (From: Paul Bruneau <email@hidden>)
 >Re: speechSynthesizer willSpeakWord trouble (From: glenn andreas <email@hidden>)
 >Re: speechSynthesizer willSpeakWord trouble (From: Ricky Sharp <email@hidden>)

  • Prev by Date: Re: speechSynthesizer willSpeakWord trouble
  • Next by Date: Data from thread to NSView, efficiently
  • Previous by thread: Re: speechSynthesizer willSpeakWord trouble
  • Next by thread: Re: speechSynthesizer willSpeakWord trouble
  • Index(es):
    • Date
    • Thread