|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object jass.generators.BiQuadFilterBase
public abstract class BiQuadFilterBase
Biquad Filter, low level implementation without calculating coefficients See bottom for details. This implementation has normalized a0=1
Field Summary | |
---|---|
protected float |
a1
Defining coefficients, will be set in superclasses |
protected float |
a2
Defining coefficients, will be set in superclasses |
protected float |
b0
Defining coefficients, will be set in superclasses |
protected float |
b1
Defining coefficients, will be set in superclasses |
protected float |
b2
Defining coefficients, will be set in superclasses |
protected float |
xt_1
State of filter. |
protected float |
xt_2
State of filter. |
protected float |
yt_1
State of filter. |
protected float |
yt_2
State of filter. |
Constructor Summary | |
---|---|
BiQuadFilterBase()
|
Method Summary | |
---|---|
void |
filter(float[] output,
float[] input,
int nsamples,
int inputOffset)
Proces input (may be same as output). |
void |
reset()
Reset state. |
void |
setComplement(boolean complement)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected float yt_1
protected float yt_2
protected float xt_1
protected float xt_2
protected float a1
protected float a2
protected float b0
protected float b1
protected float b2
Constructor Detail |
---|
public BiQuadFilterBase()
Method Detail |
---|
public void setComplement(boolean complement)
public void reset()
public void filter(float[] output, float[] input, int nsamples, int inputOffset)
filter
in interface Filter
output
- user provided buffer for returned result.input
- user provided input buffer.nsamples
- number of samples written to output buffer.inputOffset
- where to start in circular buffer input.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |