![]() |
PhonemeDescriptor |
Header: SpeechSynthesis.h |
struct PhonemeDescriptor { SInt16 phonemeCount; PhonemeInfo thePhonemes[1]; };
The number of phonemes that the current synthesizer defines. Typically, this will correspond to the number of phonemes in the language supported by the synthesizer.
An array of phoneme information structures.
By calling the GetSpeechInfo function with the soPhonemeSymbols selector, you can obtain a phoneme descriptor structure, which describes all phonemes defined for the current synthesizer. The PhonemeDescriptor data type defines a phoneme descriptor structure.
A common use for a phoneme descriptor structure is to provide a graphical display to the user of all available phonemes. Such a list is used only for a user entering phonemic data directly rather than just entering text.
© 2000 Apple Computer, Inc. (Last Updated 6/30/2000)