|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectedu.cmu.sphinx.util.props.ConfigurableAdapter
edu.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 java.lang.String |
PROP_LPC_ORDER
The SphinxProperty specifying the LPC order. |
static java.lang.String |
PROP_NUMBER_FILTERS
The name of the Sphinx Property for the number of filters in the filter bank. |
| Constructor Summary | |
|---|---|
PLPCepstrumProducer()
|
|
PLPCepstrumProducer(int numberPLPFilters,
int cepstrumSize,
int LPCOrder)
|
|
| 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 |
| Methods inherited from class edu.cmu.sphinx.util.props.ConfigurableAdapter |
|---|
getName, 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
@S4Integer(defaultValue=13) public static final java.lang.String PROP_CEPSTRUM_LENGTH
@S4Integer(defaultValue=14) public static final java.lang.String PROP_LPC_ORDER
| Constructor Detail |
|---|
public PLPCepstrumProducer(int numberPLPFilters,
int cepstrumSize,
int LPCOrder)
public PLPCepstrumProducer()
| Method Detail |
|---|
public void newProperties(PropertySheet ps)
throws PropertyException
Configurable
newProperties in interface ConfigurablenewProperties in class ConfigurableAdapterps - a property sheet holding the new data
PropertyException - if there is a problem with the properties.public void initialize()
initialize in interface DataProcessorinitialize in class BaseDataProcessor
public Data getData()
throws DataProcessingException
getData in interface DataProcessorgetData in class BaseDataProcessorDataProcessingException - 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 | ||||||||