Important: Inside Macintosh: Sound is deprecated as of Mac OS X v10.5. For new audio development in Mac OS X, use Core Audio. See the Audio page in the ADC Reference Library.
Phoneme Descriptor Records
By calling theGetSpeechInfo
function with thesoPhonemeSymbols
selector, you can obtain a phoneme descriptor record, which describes all phonemes defined for the current synthesizer. ThePhonemeDescriptor
data type defines a phoneme descriptor record.
TYPE PhonemeDescriptor = RECORD phonemeCount: Integer; {number of phonemes defined by current } { synthesizer} thePhonemes: ARRAY[0..0] OF PhonemeInfo; {list of phoneme information records} END;A common use for a phoneme descriptor record is to provide a graphical display to the user of all available phonemes. Note that such a list would be useful only for a user entering phonemic data directly rather than just entering text.
Field Description
phonemeCount
- 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.
thePhonemes
- An array of phoneme information records.