The list of available voices for a Synthesizer is returned by the getVoices method of the synthesizer's SynthesizerModeDesc . Any one of the voices returned by that method can be passed to setVoice to set the current speaking voice. Alternatively, the voice parameter may be an application-created partially specified Voice object. If there is no matching voice, the call is ignored. PropertyVetoException Set the baseline pitch for the current synthesis voice.
Different voices have different natural sounding ranges of pitch.
Typical male voices are between 80 and 180 Hertz. Female pitches typically vary from 150 to 300 Hertz. PropertyVetoException Set the pitch range for the current synthesis voice. A narrow pitch range provides monotonous output while wide range provide a more lively voice. This setting is a hint to the synthesis engine.