|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectmarytts.tools.voiceimport.VoiceImportComponent
marytts.tools.voiceimport.EndpointDetector
public class EndpointDetector
Identify and Remove End-ponints (intitial and final silences) from given set of wave files.
| Field Summary | |
|---|---|
protected DatabaseLayout |
db
|
java.lang.String |
ENERGYBUFFERLENGTH
|
protected java.io.File |
inputWavDir
|
java.lang.String |
INPUTWAVDIR
|
java.lang.String |
MINIMUMENDSILENCEINSECONDS
|
java.lang.String |
MINIMUMSTARTSILENCEINSECONDS
|
java.lang.String |
NUMENERGYCLUSTERS
|
protected java.io.File |
outputWavDir
|
java.lang.String |
OUTPUTWAVDIR
|
protected int |
percent
|
java.lang.String |
SHIFTFROMMINIMUMENERGYCENTER
|
java.lang.String |
SPEECHENDLIKELIHOOD
|
java.lang.String |
SPEECHSTARTLIKELIHOOD
|
protected java.io.File |
textDir
|
protected java.lang.String |
waveExt
|
| Fields inherited from class marytts.tools.voiceimport.VoiceImportComponent |
|---|
bnl, logger, props, props2Help |
| Constructor Summary | |
|---|---|
EndpointDetector()
|
|
| Method Summary | |
|---|---|
boolean |
compute()
Do the computations required by this component. |
java.util.SortedMap<java.lang.String,java.lang.String> |
getDefaultProps(DatabaseLayout theDb)
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. |
void |
initialiseComp()
Initialise a voice import component: component specific initialisation; to be overwritten by subclasses |
protected void |
setupHelp()
|
| Methods inherited from class marytts.tools.voiceimport.VoiceImportComponent |
|---|
getHelpText, getHelpTextForProp, getProp, initialise, setProp |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected java.io.File textDir
protected java.io.File inputWavDir
protected java.io.File outputWavDir
protected java.lang.String waveExt
protected DatabaseLayout db
protected int percent
public java.lang.String INPUTWAVDIR
public java.lang.String OUTPUTWAVDIR
public java.lang.String ENERGYBUFFERLENGTH
public java.lang.String SPEECHSTARTLIKELIHOOD
public java.lang.String SPEECHENDLIKELIHOOD
public java.lang.String SHIFTFROMMINIMUMENERGYCENTER
public java.lang.String NUMENERGYCLUSTERS
public java.lang.String MINIMUMSTARTSILENCEINSECONDS
public java.lang.String MINIMUMENDSILENCEINSECONDS
| Constructor Detail |
|---|
public EndpointDetector()
| Method Detail |
|---|
public java.lang.String getName()
VoiceImportComponent
getName in class VoiceImportComponentpublic void initialiseComp()
VoiceImportComponent
initialiseComp in class VoiceImportComponentpublic java.util.SortedMap<java.lang.String,java.lang.String> getDefaultProps(DatabaseLayout theDb)
VoiceImportComponent
getDefaultProps in class VoiceImportComponentprotected void setupHelp()
setupHelp in class VoiceImportComponent
public boolean compute()
throws java.io.IOException,
javax.sound.sampled.UnsupportedAudioFileException
VoiceImportComponent
compute in class VoiceImportComponentjava.io.IOException
javax.sound.sampled.UnsupportedAudioFileExceptionpublic int getProgress()
getProgress in class VoiceImportComponent
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||