public class VocalizationIntonationWriter extends VoiceImportComponent
Modifier and Type | Field and Description |
---|---|
protected BasenameList |
bnlVocalizations |
protected DatabaseLayout |
db |
String |
EXTERNALEXT |
String |
EXTERNALF0FORMAT |
String |
F0FEATDEF |
String |
F0TIMELINE |
String |
ISEXTERNALF0 |
protected VocalizationUnitFileReader |
listenerUnits |
protected int |
percent |
String |
PITCHDIR |
String |
POLYORDER |
String |
SKIPSIZE |
String |
UNITFILE |
protected String |
vocalizationsDir |
String |
WAVEDIR |
String |
WINDOWSIZE |
bnl, logger, props, props2Help
Constructor and Description |
---|
VocalizationIntonationWriter() |
Modifier and Type | Method and Description |
---|---|
boolean |
compute()
Reads and concatenates a list of waveforms into one single timeline file.
|
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() |
protected void |
writeHeaderTo(DataOutput out)
Write the header of this feature file to the given DataOutput
|
protected void |
writeUnitFeaturesTo(DataOutput out) |
getHelpText, getHelpTextForProp, getProp, initialise, setProp
protected String vocalizationsDir
protected BasenameList bnlVocalizations
protected VocalizationUnitFileReader listenerUnits
protected DatabaseLayout db
protected int percent
public final String PITCHDIR
public final String WAVEDIR
public final String POLYORDER
public final String ISEXTERNALF0
public final String EXTERNALF0FORMAT
public final String EXTERNALEXT
public final String UNITFILE
public final String SKIPSIZE
public final String WINDOWSIZE
public final String F0TIMELINE
public final String F0FEATDEF
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
- dbprotected void setupHelp()
setupHelp
in class VoiceImportComponent
public boolean compute() throws IOException, MaryConfigurationException
compute
in class VoiceImportComponent
IOException
- IOExceptionMaryConfigurationException
- MaryConfigurationExceptionprotected void writeUnitFeaturesTo(DataOutput out) throws IOException
out
- outIOException
- IOExceptionprotected void writeHeaderTo(DataOutput out) throws IOException
out
- outIOException
- IOExceptionpublic int getProgress()
getProgress
in class VoiceImportComponent
public static void main(String[] args)
args
- argsCopyright © 2000–2016 DFKI GmbH. All rights reserved.