Javax Speech
Posted on
Javax.speech.central
The Java Speech API (JSAPI) is not part of the JDK and Sun does not ship an implementation of JSAPI.Sun porivides the specification and third-parties provide the implementations.The most popular implementation is the open-source TTS (Text-To-Speech) package,You download the required jars here:The configuration is done in 2 steps. Scan master elm 2.1.104.771. speech.properties contains the package to provide the JSAPI implementation. Typically, the file is located in the JRElib directory.In this example, I register the TTS package directly. You specify the available voices. You have many different ways to do so, see the javadoc at.In this example, the available voice is setted with the system property 'freetts.voices'.