|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.cmu.sphinx.frontend.BaseDataProcessor
edu.cmu.sphinx.frontend.frequencywarp.PLPCepstrumProducer
public class PLPCepstrumProducer
Computes the PLP cepstrum from a given PLP Spectrum. The power spectrum has the amplitude compressed by computing the cubed root of the PLP spectrum. This operation is an approximation to the power law of hearing and simulates the non-linear relationship between sound intensity and perceived loudness. Computationally, this operation is used to reduce the spectral amplitude of the critical band to enable all-pole modeling with relatively low order AR filters. The inverse discrete cosine transform (IDCT) is then applied to the autocorrelation coefficients. A linear prediction filter is then estimated from the autocorrelation values, and the linear prediction cepstrum (LPC cepstrum) is finally computed from the LP filter.
LinearPredictor
Field Summary | |
---|---|
static java.lang.String |
PROP_CEPSTRUM_LENGTH
The SphinxProperty specifying the length of the cepstrum data. |
static int |
PROP_CEPSTRUM_LENGTH_DEFAULT
The default value of PROP_CEPSTRUM_LENGTH. |
static java.lang.String |
PROP_LPC_ORDER
The SphinxProperty specifying the LPC order. |
static int |
PROP_LPC_ORDER_DEFAULT
The default value of PROP_LPC_ORDER. |
static java.lang.String |
PROP_NUMBER_FILTERS
The name of the Sphinx Property for the number of filters in the filterbank. |
static int |
PROP_NUMBER_FILTERS_DEFAULT
The default value of PROP_NUMBER_FILTERS. |
Constructor Summary | |
---|---|
PLPCepstrumProducer()
|
Method Summary | |
---|---|
Data |
getData()
Returns the next Data object, which is the PLP cepstrum of the input frame. |
void |
initialize()
Constructs a PLPCepstrumProducer |
void |
newProperties(PropertySheet ps)
This method is called when this configurable component needs to be reconfigured. |
Methods inherited from class edu.cmu.sphinx.frontend.BaseDataProcessor |
---|
getPredecessor, getTimer, setPredecessor, toString |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
@S4Integer(defaultValue=32) public static final java.lang.String PROP_NUMBER_FILTERS
public static final int PROP_NUMBER_FILTERS_DEFAULT
@S4Integer(defaultValue=13) public static final java.lang.String PROP_CEPSTRUM_LENGTH
public static final int PROP_CEPSTRUM_LENGTH_DEFAULT
@S4Integer(defaultValue=14) public static final java.lang.String PROP_LPC_ORDER
public static final int PROP_LPC_ORDER_DEFAULT
Constructor Detail |
---|
public PLPCepstrumProducer()
Method Detail |
---|
public void newProperties(PropertySheet ps) throws PropertyException
Configurable
newProperties
in interface Configurable
newProperties
in class BaseDataProcessor
ps
- a property sheet holding the new data
PropertyException
- if there is a problem with the properties.public void initialize()
initialize
in interface DataProcessor
initialize
in class BaseDataProcessor
public Data getData() throws DataProcessingException
getData
in interface DataProcessor
getData
in class BaseDataProcessor
DataProcessingException
- if there is an error reading the Data objects
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |