public abstract class FIRFilter extends FixedSizeSampleAudioProcessor
| Constructor and Description |
|---|
FIRFilter(AudioStream stream) |
| Modifier and Type | Method and Description |
|---|---|
abstract double[] |
getCoefficients()
Returns the coefficients for the particular filter
|
SampleChunk |
process(SampleChunk sample)
Function that takes a sample chunk and processes the chunk.
|
getWindowSize, getWindowStep, isOverlapping, nextSampleChunk, setWindowSize, setWindowStepgetLength, getUnderlyingStream, process, processingComplete, reset, setUnderlyingStreamiterator, seekclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEach, spliteratorpublic FIRFilter(AudioStream stream)
stream - public abstract double[] getCoefficients()
public SampleChunk process(SampleChunk sample) throws Exception
FixedSizeSampleAudioProcessor is
simply to change the shape of the sample chunk. You may override this
method to process the samples directly.process in class FixedSizeSampleAudioProcessorsample - The sample chunk to process.Exception - If the processing could not take placeFixedSizeSampleAudioProcessor.process(org.openimaj.audio.SampleChunk)