Package com.sun.speech.freetts.relp
Class AudioOutput
java.lang.Object
com.sun.speech.freetts.relp.AudioOutput
- All Implemented Interfaces:
UtteranceProcessor
Supports generating audio output from an utterance. This is an
utterance processor. The primary method,
procesUtterance
takes an utterance and hands it off to the LPCResult to be sent to the
proper audio player.- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
processUtterance
(Utterance utterance) Generates audio waves for the given Utterance.toString()
Returns the string form of this object
-
Constructor Details
-
AudioOutput
public AudioOutput()
-
-
Method Details
-
processUtterance
Generates audio waves for the given Utterance. The audio data is decoded using the Linear Predictive Decoder- Specified by:
processUtterance
in interfaceUtteranceProcessor
- Parameters:
utterance
- the utterance to generate waves- Throws:
ProcessException
- if an IOException is thrown during the processing of the utterance- See Also:
-
toString
Returns the string form of this object
-