public class PLPFrequencyFilterBank extends BaseDataProcessor
PLPFilter
class. Like the MelFrequencyFilterBank2
, this filter bank has characteristics defined by the number of filters
, the minimum frequency
, and the maximum frequency
. Unlike the MelFrequencyFilterBank2
, 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
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
PROP_MAX_FREQ
The property for the center frequency of the highest filter in the filterbank.
|
static java.lang.String |
PROP_MIN_FREQ
The property for the center frequency of the lowest filter in the filterbank.
|
static java.lang.String |
PROP_NUMBER_FILTERS
The property for the number of filters in the filterbank.
|
logger
Constructor and Description |
---|
PLPFrequencyFilterBank() |
PLPFrequencyFilterBank(double minFreq,
double maxFreq,
int numberFilters) |
Modifier and Type | Method and Description |
---|---|
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.
|
getPredecessor, setPredecessor
getName, initLogger, toString
@S4Integer(defaultValue=32) public static final java.lang.String PROP_NUMBER_FILTERS
@S4Double(defaultValue=130.0) public static final java.lang.String PROP_MIN_FREQ
@S4Double(defaultValue=3600.0) public static final java.lang.String PROP_MAX_FREQ
public PLPFrequencyFilterBank(double minFreq, double maxFreq, int numberFilters)
public PLPFrequencyFilterBank()
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()
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 a data processing error