|
Sautrela | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.gtts.sautrela.engine.AbstractDataProcessor
edu.gtts.sautrela.sp.MelLogFilterBank
public class MelLogFilterBank
Calculates the logarithm of a Mel-scale Filter Bank. Filters are located in the
range [minFreq,maxFreq], so the value of maxFreq must be in the range (minFreq,F],
where
| Field Summary | |
|---|---|
static double |
DEFAULT_MAXFREQ
default maximum frequency == 0.0 |
static double |
DEFAULT_MINFREQ
default minimun frequency == 0.0 |
static int |
DEFAULT_NFILT
default number of filters == 24 |
static int |
DEFAULT_SAMPLERATE
default sampling rate == 16000 |
| Fields inherited from interface java.beans.BeanInfo |
|---|
ICON_COLOR_16x16, ICON_COLOR_32x32, ICON_MONO_16x16, ICON_MONO_32x32 |
| Constructor Summary | |
|---|---|
MelLogFilterBank()
Creates a new MelLogFilterBank. |
|
| Method Summary | |
|---|---|
void |
editBeanInfo(java.beans.BeanInfo info)
|
int |
getFilterNum()
Gets the number of filters |
double |
getMaxFreq()
Gets the maximun frequency for filtering |
double |
getMinFreq()
Gets the minimun frequency for filtering |
int |
getSampleRate()
Gets the sampling rate that was used on the incoming data. |
static void |
main(java.lang.String[] args)
|
void |
process(Buffer in,
Buffer out)
Data is pulled from imput buffer, processed and pushed into the output buffer. |
void |
setFilterNum(int filterNum)
Sets the number of filters |
void |
setMaxFreq(double maxFreq)
Sets the maximun frequency for filtering. |
void |
setMinFreq(double minFreq)
Sets the minimun frequency for filtering. |
void |
setSampleRate(int sampleRate)
Sets the sampling rate that was used on the incoming data. |
| Methods inherited from class edu.gtts.sautrela.engine.AbstractDataProcessor |
|---|
getAdditionalBeanInfo, getBeanDescriptor, getDefaultEventIndex, getDefaultPropertyIndex, getEventSetDescriptors, getIcon, getMethodDescriptors, getName, getPropertyDescriptors, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final int DEFAULT_NFILT
public static final int DEFAULT_SAMPLERATE
public static final double DEFAULT_MINFREQ
public static final double DEFAULT_MAXFREQ
| Constructor Detail |
|---|
public MelLogFilterBank()
| Method Detail |
|---|
public int getFilterNum()
public void setFilterNum(int filterNum)
filterNum - The number of filterspublic int getSampleRate()
public void setSampleRate(int sampleRate)
sampleRate - The input data sampling ratepublic double getMinFreq()
public void setMinFreq(double minFreq)
minFreq - The minimun filtering frequencypublic double getMaxFreq()
public void setMaxFreq(double maxFreq)
maxFreq - The maximun filtering frequency
public void process(Buffer in,
Buffer out)
throws DataProcessorException
DataProcessor
in - Input Bufferout - Output Buffer
DataProcessorExceptionpublic void editBeanInfo(java.beans.BeanInfo info)
editBeanInfo in class AbstractDataProcessor
public static void main(java.lang.String[] args)
throws java.lang.Exception
java.lang.Exception
|
Sautrela | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||