public class LabelledFilesInspector extends VoiceImportComponent
| Modifier and Type | Field and Description |
|---|---|
protected AudioFormat |
audioFormat |
protected double[] |
audioSignal |
protected DatabaseLayout |
db |
protected String |
extractedDir |
protected String |
extractedLabDir |
protected String |
extractedPmDir |
protected String |
extractedWavDir |
protected JList |
fileList |
protected JList |
labels |
protected File |
phoneLabDir |
protected double[] |
pitchmarks |
protected File |
pmDir |
String |
PMDIR |
String |
PMEXT |
protected int |
samplingRate |
protected JTextField |
saveFilename |
protected double |
tEnd |
protected double |
tStart |
protected File |
wavDir |
bnl, logger, props, props2Help| Constructor and Description |
|---|
LabelledFilesInspector() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
compute()
Do the computations required by this component.
|
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
|
protected void |
setupHelp() |
getHelpText, getHelpTextForProp, getProp, initialise, setPropprotected File wavDir
protected File phoneLabDir
protected File pmDir
protected DatabaseLayout db
protected JList fileList
protected JList labels
protected JTextField saveFilename
protected double[] audioSignal
protected AudioFormat audioFormat
protected double[] pitchmarks
protected int samplingRate
protected double tStart
protected double tEnd
protected String extractedDir
protected String extractedWavDir
protected String extractedLabDir
protected String extractedPmDir
public final String PMDIR
public final String PMEXT
public String getName()
VoiceImportComponentgetName in class VoiceImportComponentprotected void initialiseComp()
VoiceImportComponentinitialiseComp in class VoiceImportComponentpublic SortedMap getDefaultProps(DatabaseLayout db)
VoiceImportComponentgetDefaultProps in class VoiceImportComponentdb - dbprotected void setupHelp()
setupHelp in class VoiceImportComponentpublic boolean compute()
throws IOException
VoiceImportComponentcompute in class VoiceImportComponentIOExceptionpublic int getProgress()
getProgress in class VoiceImportComponentCopyright © 2000–2016 DFKI GmbH. All rights reserved.