public interface Filter
Modifier and Type | Method and Description |
---|---|
int |
getFilterDelay()
Gets the delay of the filter - rarely used, but can be important
for some processing tasks.
|
void |
prepareFilter()
Calculates the poles and zeros for the filter and sets up any memory
buffers required during real time operation.
|
double |
runFilter(double aData)
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
|
void prepareFilter()
void runFilter(double[] inputData)
New values overwrite the old values in the array.
inputData
- void runFilter(double[] inputData, double[] outputData)
New values write into the output data array.
inputData
- double runFilter(double aData)
aData
- int getFilterDelay()