Previous Book Contents Book Index Next

Inside Macintosh: Sound /
Chapter 4 - Speech Manager / Speech Manager Reference
Data Structures


Legacy Documentclose button

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 the GetSpeechInfo function with the soPhonemeSymbols selector, you can obtain a phoneme descriptor record, which describes all phonemes defined for the current synthesizer. The PhonemeDescriptor 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;
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.
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.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
2 JUL 1996