Search code examples
iphonexcodeios9avspeechsynthesizer

iOS9 AVSpeechUtterance rate for AVSpeechSynthesizer issue


The AVSpeechUtterance rate does not work the same for iOS 9 and prior versions of OS. Which is the change I have to make so that the sentence is spoken at the same speed. Are there any other changes I need to make for iOS9? It seems that multiplying the AVSpeechUtterance.rate by 6.0 works fine. Thank you!


Solution

  • I also see the change after compiling with the new XCode. Below are my mappings from old to new speed. I now have different speed assignments if device is <= iOS8 or >= iOS9.

               iOS 8   iOS 9
    Very Slow  0       0.42
    Slower     0.06    0.5
    My Normal  0.15    0.53
    Faster     0.23    0.56