public class AutoCepstrum extends BaseDataProcessor
Modifier and Type | Field and Description |
---|---|
protected DiscreteCosineTransform |
dct
The property specifying the DCT which will be used for creating the
cepstrum.
|
protected Denoise |
denoise
The denoise component which could be used for creating the cepstrum.
|
protected BaseDataProcessor |
filterBank
The filter bank which will be used for creating the cepstrum.
|
protected Lifter |
lifter
The lifter component which could be used for creating the cepstrum.
|
protected Loader |
loader |
static java.lang.String |
PROP_LOADER
The property specifying the acoustic model for which this cepstrum will
be configured.
|
protected java.util.List<DataProcessor> |
selectedDataProcessors
The list of
DataProcessor s which were auto-configured for
this Cepstrum component. |
logger
Constructor and Description |
---|
AutoCepstrum() |
AutoCepstrum(Loader loader) |
Modifier and Type | Method and Description |
---|---|
Data |
getData()
Returns the processed Data output, basically calls
getData() on the last processor. |
void |
initialize()
Initializes this DataProcessor.
|
void |
newProperties(PropertySheet ps)
This method is called when this configurable component needs to be reconfigured.
|
void |
setPredecessor(DataProcessor predecessor)
Sets the predecessor for this DataProcessor.
|
java.lang.String |
toString()
Returns a description of this Cepstrum component in the format:
<cepstrum name> {<DataProcessor1>, <DataProcessor2> ...
|
getPredecessor
getName, initLogger
@S4Component(type=Loader.class) public static final java.lang.String PROP_LOADER
protected Loader loader
protected BaseDataProcessor filterBank
protected Denoise denoise
protected DiscreteCosineTransform dct
protected Lifter lifter
protected java.util.List<DataProcessor> selectedDataProcessors
DataProcessor
s which were auto-configured for
this Cepstrum component.public AutoCepstrum(Loader loader) throws java.io.IOException
java.io.IOException
public AutoCepstrum()
public void newProperties(PropertySheet ps) throws PropertyException
Configurable
newProperties
in interface Configurable
newProperties
in class ConfigurableAdapter
ps
- a property sheet holding the new dataPropertyException
- if there is a problem with the properties.public void initialize()
BaseDataProcessor
initialize
in interface DataProcessor
initialize
in class BaseDataProcessor
public Data getData() throws DataProcessingException
getData()
on the last processor.getData
in interface DataProcessor
getData
in class BaseDataProcessor
DataProcessingException
- if a data processor error occurspublic void setPredecessor(DataProcessor predecessor)
setPredecessor
in interface DataProcessor
setPredecessor
in class BaseDataProcessor
predecessor
- the predecessor of this DataProcessorpublic java.lang.String toString()
toString
in class ConfigurableAdapter