(Page 11 of 17 in this chapter)
ttsSetGain
Description
- Sets speech gain (volume) on a specific text-to-speech context.
Prototype
- DWORD ttsSetGain(CTAHD ctahd,
short gain)
- ctahd CT Access handle returned by ctaCreateContext.
- gain Speech gain in dB.
Return Values
Events
- None.
Details
- This function establishes a new volume setting in dB for speech on a specific context. A value of 0 (the default) sets volume at maximum, and any other value attenuates volume by a specific number of dB. Valid gain settings range from 0 to -25dB.
Note: You cannot change gain settings while speech is paused
on the specified context.
See Also
- ttsGetStatus, ttsSetPitch, ttsSetSpeed
(Page 11 of 17 in this chapter)
tech_support@nmss.com
Copyright © 1997, Natural MicroSystems, Inc. All rights
reserved.