|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Filter
Common interface for all types of filters. This is intended for filters that consume samples the same rate they output them. Examples of such filters are common FIR and IIR filters.
Method Summary | |
---|---|
double |
getFrequencyResponse(double dOmega)
Get the frequency response of the filter at a specified frequency. |
double |
getPhaseResponse(double dOmega)
Get the phase response of the filter at a specified frequency. |
float |
process(float fSample)
Process one sample through the filter. |
Method Detail |
---|
float process(float fSample)
double getFrequencyResponse(double dOmega)
dOmega
- The frequency for which the frequency response
should be calculated. Has to be given as omega values
([-PI .. +PI]).
double getPhaseResponse(double dOmega)
dOmega
- The frequency for which the phase response
should be calculated. Has to be given as omega values
([-PI .. +PI]).
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |