public class FestivalCaller extends SynthesisCallerBase
Modifier and Type | Class and Description |
---|---|
static class |
FestivalCaller.SimpleFestivalClient |
Modifier and Type | Field and Description |
---|---|
protected File |
festivalDir |
protected File |
intEventDir |
protected File |
phraseDir |
protected File |
relationsDir |
protected File |
segmentDir |
protected File |
syllableDir |
protected File |
targetDir |
protected File |
uttsDir |
protected File |
wordDir |
logger, state
MODULE_OFFLINE, MODULE_RUNNING
Constructor and Description |
---|
FestivalCaller() |
Modifier and Type | Method and Description |
---|---|
void |
startup()
Allow the module to start up, performing whatever is necessary to become operational.
|
AudioInputStream |
synthesiseOneSection(String festivalUtt,
Voice voice)
Process a single utterance in FESTIVAL_UTT text format.
|
convertIfNeededAndPossible, powerOnSelfTest, process
getInputType, getLocale, getOutputType, getState, inputType, name, outputType, shutdown
protected File festivalDir
protected File relationsDir
protected File segmentDir
protected File syllableDir
protected File wordDir
protected File intEventDir
protected File phraseDir
protected File targetDir
protected File uttsDir
public void startup() throws Exception
MaryModule
startup
in interface MaryModule
startup
in class SynthesisCallerBase
Exception
- Exceptionpublic AudioInputStream synthesiseOneSection(String festivalUtt, Voice voice) throws IOException
synthesiseOneSection
in class SynthesisCallerBase
festivalUtt
- festivalUttvoice
- the voice with which to synthesise the dataIOException
- IOExceptionCopyright © 2000–2016 DFKI GmbH. All rights reserved.