Package de.dfki.lt.freetts.mbrola
Class MbrolaCaller
- java.lang.Object
-
- de.dfki.lt.freetts.mbrola.MbrolaCaller
-
- All Implemented Interfaces:
UtteranceProcessor
public class MbrolaCaller extends java.lang.Object implements UtteranceProcessor
Calls external MBROLA binary to synthesise the utterance.
-
-
Constructor Summary
Constructors Constructor Description MbrolaCaller(java.lang.String[] cmd)Create an Mbrola caller which will call an external MBROLA binary using the commandcmd.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidprocessUtterance(Utterance utterance)Call external MBROLA binary to synthesize the utterance.java.lang.StringtoString()
-
-
-
Method Detail
-
processUtterance
public void processUtterance(Utterance utterance) throws ProcessException
Call external MBROLA binary to synthesize the utterance.- Specified by:
processUtterancein interfaceUtteranceProcessor- Parameters:
utterance- the utterance to process- Throws:
ProcessException- if an error occurs while processing of the utterance
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-