VMS Help RTL Routines, DTK$, DTK$SET_VOICE *Conan The Librarian (sorry for the slow response - running on an old VAX) |
The Set Voice Characteristics routine changes the DECtalk voice characteristics to match those specified. Format: DTK$SET_VOICE voice-id [,new-voice] [,speech-rate] [,comma-pause] [,period-pause] Arguments: voice-id OpenVMS usage: identifier type: longword (unsigned) access: read only mechanism: by reference Voice identifier of the DECtalk device. The voice-id argument is the address of an unsigned longword containing this identifier. The voice identifier is returned by the DTK$INITIALIZE routine. new-voice OpenVMS usage: longword_signed type: longword (signed) access: read only mechanism: by reference Type of voice. The optional new-voice argument is the address of a signed longword containing any valid new-voice value. Valid values for new-voice are: DTK$K_VOICE_MALE Standard male voice DTK$K_VOICE_FEMALE Standard female voice DTK$K_VOICE_CHILD Standard child voice DTK$K_VOICE_DEEP_MALE Deep male voice DTK$K_VOICE_DEEP_FEMALE Deep female voice DTK$K_VOICE_OLDER_MALE Older male voice DTK$K_VOICE_LIGHT_FEMALE Light female voice speech-rate OpenVMS usage: longword_signed type: longword (signed) access: read only mechanism: by reference Rate at which DECtalk speaks, measured in words per minute. The optional speech-rate argument is the address of a signed longword containing this rate. The valid range of values for speech-rate is 120 to 350 words per minute. comma-pause OpenVMS usage: longword_unsigned type: longword (unsigned) access: read only mechanism: by reference Number of milliseconds by which to increase the time DECtalk pauses after a comma. The optional comma-pause argument is the address of a signed longword containing this number. A value of zero resets the pause time to the hardware default value. period-pause OpenVMS usage: longword_unsigned type: longword (unsigned) access: read only mechanism: by reference Number of milliseconds by which to increase the time DECtalk pauses after a period. The optional period-pause argument is the address of a signed longword containing this number. A value of zero resets the pause time to the hardware default value.
|