marytts.tools.voiceimport
Class BasenameTimelineMaker
java.lang.Object
marytts.tools.voiceimport.VoiceImportComponent
marytts.tools.voiceimport.BasenameTimelineMaker
public class BasenameTimelineMaker
- extends VoiceImportComponent
The BasenameTimelineMaker class takes a database root directory and a list of basenames,
and associates the basenames with absolute times in a timeline in Mary format.
- Author:
- sacha
|
Method Summary |
boolean |
compute()
Reads and concatenates a list of LPC EST tracks into one single timeline file. |
java.util.SortedMap |
getDefaultProps(DatabaseLayout db)
Get the map of properties2values
containing the default values |
java.lang.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 |
setupHelp()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
db
protected DatabaseLayout db
percent
protected int percent
TIMELINEFILE
public final java.lang.String TIMELINEFILE
- See Also:
- Constant Field Values
PMDIR
public final java.lang.String PMDIR
- See Also:
- Constant Field Values
PMEXT
public final java.lang.String PMEXT
- See Also:
- Constant Field Values
BasenameTimelineMaker
public BasenameTimelineMaker()
getName
public java.lang.String getName()
- Description copied from class:
VoiceImportComponent
- Get the name of this component
- Specified by:
getName in class VoiceImportComponent
- Returns:
- the name
getDefaultProps
public java.util.SortedMap getDefaultProps(DatabaseLayout db)
- Description copied from class:
VoiceImportComponent
- Get the map of properties2values
containing the default values
- Specified by:
getDefaultProps in class VoiceImportComponent
- Returns:
- map of props2values
setupHelp
protected void setupHelp()
- Specified by:
setupHelp in class VoiceImportComponent
compute
public boolean compute()
- Reads and concatenates a list of LPC EST tracks into one single timeline file.
- Specified by:
compute in class VoiceImportComponent
- Returns:
- true on success, false on failure
getProgress
public int getProgress()
- Provide the progress of computation, in percent, or -1 if
that feature is not implemented.
- Specified by:
getProgress in class VoiceImportComponent
- Returns:
- -1 if not implemented, or an integer between 0 and 100.