public class SnackF0ContourExtractor extends VoiceImportComponent
Modifier and Type | Field and Description |
---|---|
String |
COMMAND |
protected DatabaseLayout |
db |
String |
FRAMEPERIOD |
String |
LF0DIR |
protected String |
lf0Ext |
String |
MAXPITCH |
String |
MINPITCH |
String |
SAMPLERATE |
protected String |
scriptFileName |
protected String |
snackPmExt |
String |
WAVEDIR |
bnl, logger, props, props2Help
Constructor and Description |
---|
SnackF0ContourExtractor() |
Modifier and Type | Method and Description |
---|---|
boolean |
compute()
The standard compute() method of the VoiceImportComponent interface.
|
SortedMap |
getDefaultProps(DatabaseLayout db)
Get the map of properties2values containing the default values
|
String |
getName()
Get the name of this component
|
int |
getProgress()
Provide the progress of computation, in percent, or -1 if that feature is not implemented.
|
protected void |
initialiseComp()
Initialise a voice import component: component specific initialisation; to be overwritten by subclasses
|
static void |
main(String[] args) |
protected void |
setupHelp() |
getHelpText, getHelpTextForProp, getProp, initialise, setProp
protected DatabaseLayout db
protected String snackPmExt
protected String lf0Ext
protected String scriptFileName
public final String MINPITCH
public final String MAXPITCH
public final String COMMAND
public final String LF0DIR
public final String WAVEDIR
public final String SAMPLERATE
public final String FRAMEPERIOD
public String getName()
VoiceImportComponent
getName
in class VoiceImportComponent
protected void initialiseComp()
VoiceImportComponent
initialiseComp
in class VoiceImportComponent
public SortedMap getDefaultProps(DatabaseLayout db)
VoiceImportComponent
getDefaultProps
in class VoiceImportComponent
db
- dbpublic boolean compute() throws IOException, InterruptedException
compute
in class VoiceImportComponent
IOException
- IOExceptionInterruptedException
- InterruptedExceptionpublic static void main(String[] args)
args
- argspublic int getProgress()
VoiceImportComponent
getProgress
in class VoiceImportComponent
protected void setupHelp()
setupHelp
in class VoiceImportComponent
Copyright © 2000–2016 DFKI GmbH. All rights reserved.