Package ips.incubator.dsp
Class IIRFilterStream
- java.lang.Object
-
- ips.dsp.IIRFilter
-
- ips.incubator.dsp.IIRFilterStream
-
- All Implemented Interfaces:
FloatStream
public class IIRFilterStream extends IIRFilter implements FloatStream
TODO Not tested- Author:
- klausj
-
-
Constructor Summary
Constructors Constructor Description IIRFilterStream(FloatStream srcStream, double[] aCoeff, double[] bCoeff)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()intread(double[] buf, int offset, int len)longskip(long skip)
-
-
-
Constructor Detail
-
IIRFilterStream
public IIRFilterStream(FloatStream srcStream, double[] aCoeff, double[] bCoeff)
-
-
Method Detail
-
read
public int read(double[] buf, int offset, int len) throws java.io.IOException- Specified by:
readin interfaceFloatStream- Throws:
java.io.IOException
-
skip
public long skip(long skip) throws java.io.IOException- Specified by:
skipin interfaceFloatStream- Throws:
java.io.IOException
-
close
public void close() throws java.io.IOException- Specified by:
closein interfaceFloatStream- Throws:
java.io.IOException
-
-