public class MbrolaAudioOutput extends java.lang.Object implements UtteranceProcessor
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 and Description |
---|
MbrolaAudioOutput() |
Modifier and Type | Method and Description |
---|---|
void |
processUtterance(Utterance utterance)
Reads audio data generated by the external MBROLA binary for the given
Utterance.
|
java.lang.String |
toString()
Returns the string form of this object
|
public void processUtterance(Utterance utterance) throws ProcessException
processUtterance
in interface UtteranceProcessor
utterance
- the utterance to generate wavesProcessException
- if an IOException is thrown during the
processing of the utterancepublic java.lang.String toString()
toString
in class java.lang.Object