|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectddf.minim.effects.IIRFilter
ddf.minim.effects.LowPassSP
LowPassSP is a single pole low pass filter. It is not super great, but it gets the job done.
| Field Summary |
| Fields inherited from class ddf.minim.effects.IIRFilter |
a, b |
| Constructor Summary | |
LowPassSP(float freq,
float sampleRate)
Constructs a low pass filter with a cutoff frequency of freq
that will be used to filter audio recorded at sampleRate. |
|
| Method Summary | |
protected void |
calcCoeff()
Calculates the coefficients of the filter using the current cutoff frequency. |
| Methods inherited from class ddf.minim.effects.IIRFilter |
frequency, printCoeff, process, process, sampleRate, setFreq, validFreq |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public LowPassSP(float freq,
float sampleRate)
freq
that will be used to filter audio recorded at sampleRate.
freq - the cutoff frequencysampleRate - the sample rate of the audio that will be filtered| Method Detail |
protected void calcCoeff()
IIRFilterb[0] corresponds to the coefficient b1.
calcCoeff in class IIRFilter
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||