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.
Obtaining Information About Voices
Specification of a voice requires a voice specification record. When you already know the creator and ID for a voice, you should use theMakeVoiceSpecfunction to create such a record rather than filling in the fields of one directly. To obtain information about all available voices, use theCountVoicesfunction to determine how many voices are available, and theGetIndVoicefunction to obtain a voice specification record corresponding to each voice.Having created a voice specification record, you can obtain information about the voice to which it corresponds. The
GetVoiceDescriptionfunction provides information about a voice in the form of a voice description record. In addition to duplicating the capabilities of theGetVoiceDescriptionfunction, theGetVoiceInfofunction allows you to obtain information about where on disk a voice is stored.
Subtopics
- MakeVoiceSpec
- CountVoices
- GetIndVoice
- GetVoiceDescription
- GetVoiceInfo