public class OctaveVoiceQualityProcessor extends VoiceImportComponent
Modifier and Type | Field and Description |
---|---|
protected DatabaseLayout |
db |
String |
FRAMELENGTH |
String |
LPCORDER |
String |
MAXPITCH |
String |
MINPITCH |
String |
NUMFORMANTS |
protected String |
octaveExtension |
String |
OCTAVEPATH |
String |
SAMPLINGRATE |
protected String |
scriptOctaveFileName |
protected String |
scriptSnackFileName |
protected String |
snackExtension |
protected String |
voiceQualityExtension |
String |
VQDIR |
String |
WINDOWLENGTH |
bnl, logger, props, props2Help
Constructor and Description |
---|
OctaveVoiceQualityProcessor() |
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) |
static void |
main1(String[] args) |
protected void |
setupHelp() |
getHelpText, getHelpTextForProp, getProp, initialise, setProp
protected DatabaseLayout db
protected String snackExtension
protected String octaveExtension
protected String voiceQualityExtension
protected String scriptSnackFileName
protected String scriptOctaveFileName
public final String SAMPLINGRATE
public final String MINPITCH
public final String MAXPITCH
public final String FRAMELENGTH
public final String WINDOWLENGTH
public final String NUMFORMANTS
public final String LPCORDER
public final String VQDIR
public final String OCTAVEPATH
protected void setupHelp()
setupHelp
in class VoiceImportComponent
public final 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 Exception
compute
in class VoiceImportComponent
Exception
- Exceptionpublic int getProgress()
getProgress
in class VoiceImportComponent
Copyright © 2000–2016 DFKI GmbH. All rights reserved.