Package de.dfki.lt.freetts.mbrola
Class MbrolaAudioOutput
java.lang.Object
de.dfki.lt.freetts.mbrola.MbrolaAudioOutput
- All Implemented Interfaces:
UtteranceProcessor
Supports generating audio output from an MBROLA-synthesized utterance. This
is an utterance processor. The primary method,
processUtterance
takes an utterance containing an open BufferedInputStream, from
which to read raw audio data provided by the external MBROLA binary. The
audio data is read and sent to the proper audio player.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
processUtterance
(Utterance utterance) Reads audio data generated by the external MBROLA binary for the given Utterance.toString()
Returns the string form of this object
-
Constructor Details
-
MbrolaAudioOutput
public MbrolaAudioOutput()
-
-
Method Details
-
processUtterance
Reads audio data generated by the external MBROLA binary for the given Utterance. The data is read from the open BufferedInputStream associated with the Utterance, and written into the AudioPlayer.- 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
-
toString
Returns the string form of this object
-