public class IIRFilter extends Object
| Constructor and Description |
|---|
IIRFilter(IIRFilterBase[] theFilters) |
| Modifier and Type | Method and Description |
|---|---|
void |
clearHistory() |
int |
doFilter(float[] ringBuffer,
int start,
int length,
int useBands)
This will perform the filter on the samples
|
float |
getBand(int index) |
IIRFilterBase[] |
getFilters() |
float |
getPreAmp() |
void |
initialize(int channels,
int sampleBufferSize) |
void |
setBand(int index,
float newGain) |
void |
setPreAmp(float newPreAmpDB) |
public IIRFilter(IIRFilterBase[] theFilters)
public void initialize(int channels,
int sampleBufferSize)
public void clearHistory()
public float getBand(int index)
public void setBand(int index,
float newGain)
public float getPreAmp()
public void setPreAmp(float newPreAmpDB)
preAmp - the preAmp to setpublic IIRFilterBase[] getFilters()
public int doFilter(float[] ringBuffer,
int start,
int length,
int useBands)
ringBuffer - preAmpedResultBuffer - start - length - Copyright © 2014. All rights reserved.