de.dfki.lt.freetts.mbrola
public class MbrolaCaller extends java.lang.Object implements UtteranceProcessor
Constructor and Description |
---|
MbrolaCaller(java.lang.String[] cmd)
Create an Mbrola caller which will call an external MBROLA binary
using the command
cmd . |
Modifier and Type | Method and Description |
---|---|
void |
processUtterance(Utterance utterance)
Call external MBROLA binary to synthesize the utterance.
|
java.lang.String |
toString() |
public MbrolaCaller(java.lang.String[] cmd)
cmd
. The command string is used
as it is, which means that it must contain full path specifications
and the correct file separators.public void processUtterance(Utterance utterance) throws ProcessException
processUtterance
in interface UtteranceProcessor
utterance
- the utterance to processProcessException
- if an error occurs while
processing of the utterancepublic java.lang.String toString()
toString
in class java.lang.Object