public abstract class AbstractFilter extends java.lang.Object implements Filter
Constructor and Description |
---|
AbstractFilter() |
Modifier and Type | Method and Description |
---|---|
abstract void |
prepareFilter()
Calculates the poles and zeros for the filter and sets up any memory
buffers required during real time operation.
|
abstract double |
runFilter(double data)
Runs the filter on a single data value
|
void |
runFilter(double[] inputData)
Runs the filter on an array of data
|
void |
runFilter(double[] inputData,
double[] outputData)
Runs the filter on an array of data
|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getFilterDelay
public abstract void prepareFilter()
Filter
prepareFilter
in interface Filter
public void runFilter(double[] inputData)
Filter
New values overwrite the old values in the array.
public void runFilter(double[] inputData, double[] outputData)
Filter
New values write into the output data array.