|
|||||||||
| 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.PLPFrequencyFilterBank
public class PLPFrequencyFilterBank
Filters an input power spectrum through a PLP filterbank. The filters in the filterbank are placed in the frequency
axis so as to mimic the critical band, representing different perceptual effect at different frequency bands. The
filter outputs are also scaled for equal loudness preemphasis. The filter shapes are defined by the PLPFilter
class. Like the MelFrequencyFilterBank, this filter bank has characteristics defined by the number of filters, the minimum frequency, and the maximum frequency. Unlike the MelFrequencyFilterBank, the minimum and maximum frequencies here refer to the
center frequencies of the filters located at the leftmost and rightmost positions, and not to the edges.
Therefore, this filter bank spans a frequency range that goes beyond the limits suggested by the minimum and maximum
frequencies.
PLPFilter| Field Summary | |
|---|---|
static java.lang.String |
PROP_MAX_FREQ
The name of the Sphinx Property for the center frequency of the highest filter in the filterbank. |
static java.lang.String |
PROP_MIN_FREQ
The name of the Sphinx Property for the center frequency of the lowest filter in the filterbank. |
static java.lang.String |
PROP_NUMBER_FILTERS
The name of the Sphinx Property for the number of filters in the filterbank. |
| Constructor Summary | |
|---|---|
PLPFrequencyFilterBank()
|
|
PLPFrequencyFilterBank(double minFreq,
double maxFreq,
int numberFilters)
|
|
| Method Summary | |
|---|---|
Data |
getData()
Reads the next Data object, which is the power spectrum of an audio input frame. |
void |
initialize()
Initializes this PLPFrequencyFilterBank object |
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=130) public static final java.lang.String PROP_MIN_FREQ
@S4Integer(defaultValue=3600) public static final java.lang.String PROP_MAX_FREQ
| Constructor Detail |
|---|
public PLPFrequencyFilterBank(double minFreq,
double maxFreq,
int numberFilters)
public PLPFrequencyFilterBank()
| 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 a data processing error
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||