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 void
close()
int
read(double[] buf, int offset, int len)
long
skip(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:
read
in interfaceFloatStream
- Throws:
java.io.IOException
-
skip
public long skip(long skip) throws java.io.IOException
- Specified by:
skip
in interfaceFloatStream
- Throws:
java.io.IOException
-
close
public void close() throws java.io.IOException
- Specified by:
close
in interfaceFloatStream
- Throws:
java.io.IOException
-
-