marytts.tools.voiceimport
Class LPCTimelineMaker
java.lang.Object
marytts.tools.voiceimport.VoiceImportComponent
marytts.tools.voiceimport.LPCTimelineMaker
public class LPCTimelineMaker
- extends VoiceImportComponent
The LPCTimelineMaker class takes a database root directory and a list of basenames,
and converts the related wav files into a LPC 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
lpcExt
protected java.lang.String lpcExt
LPCDIR
public final java.lang.String LPCDIR
- See Also:
- Constant Field Values
LPCTIMELINE
public final java.lang.String LPCTIMELINE
- See Also:
- Constant Field Values
LPCTimelineMaker
public LPCTimelineMaker()
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.