public class MbrolaCaller extends Object implements UtteranceProcessor
Modifier and Type | Field and Description |
---|---|
private long |
closeDelay |
private String[] |
cmd |
Constructor and Description |
---|
MbrolaCaller(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.
|
String |
toString() |
private long closeDelay
public MbrolaCaller(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 utteranceWebARTS Library Licensed Under the GNU - General Public License. Other Libraries licensed under their respective Open Source Licenses