javax.speech.synthesis
· A speech synthesizer is a speech engine that converts text to speech. The javax.speech.synthesispackage defines the Synthesizer interface to support speech synthesis plus a set of supporting classes and interfaces.
- "Hello World!": a simple example of speech synthesis
"Hello World!"
This example illustrates the four basic steps which all speech synthesis applications must perform. Let's examine each step in detail.
· Create: The Central class of javax.speech package is used to obtain a speech synthesizer by calling the createSynthesizer method. The SynthesizerModeDesc argument provides the information needed to locate an appropriate synthesizer. In this example a synthesizer that speaks English is requested.
