Reputation: 1929
how I can set pronunciation for 1 word in AVSpeechUtterance
? for example - read [ri:d], read [red], read [red]
spelled the same but pronounced differently
AVSpeechUtterance(string: "read") // in second form, how?
Upvotes: 0
Views: 747
Reputation: 535169
You can use an attributed string with International Phonetic Alphabet pronunciation attached by way of the AVSpeechSynthesisIPANotationAttribute key.
Upvotes: 5