org.knowceans.sandbox
Class IirFilter

java.lang.Object
  extended by org.knowceans.sandbox.IirFilter

public class IirFilter
extends java.lang.Object

IirFilter implements a simple IIR filter using a cascade of biquad filters (second-order sections).

Author:
gregor

Constructor Summary
IirFilter(int channels, int stages, int framesize)
           
 
Method Summary
 void init(int channels, int stages, int framesize)
           
static void main(java.lang.String[] args)
           
 void nextFrame(double[] inframe, double[] outframe, double gain)
          perform processing for one frame
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IirFilter

public IirFilter(int channels,
                 int stages,
                 int framesize)
Method Detail

init

public void init(int channels,
                 int stages,
                 int framesize)

nextFrame

public void nextFrame(double[] inframe,
                      double[] outframe,
                      double gain)
perform processing for one frame

Parameters:
inframe -
outframe -

main

public static void main(java.lang.String[] args)