Provides the phoneme symbols generated by the given text.
- macOS 10.5+
Text from which to generate phonemes.
Phonemes generated from text.
Converting textual data into phonetic data is particularly useful during application development, when you might wish to adjust phrases that your application generates to produce smoother speech. By first converting the target phrase into phonemes, you can see what the synthesizer will try to speak. Then you need correct only the parts that would not have been spoken the way you want
The string returned by phonemesFromText: corresponds precisely to the phonemes that would be spoken had the input text been sent to
start instead. All current property settings for the synthesizer are applied to the converted speech.
No delegate methods are called while
phonemes(from:) method is generating its output.