be.hogent.tarsos.dsp.util
Class BiQuadFilter

java.lang.Object
  extended by be.hogent.tarsos.dsp.util.BiQuadFilter

public class BiQuadFilter
extends java.lang.Object

Implements a BiQuad filter, which can be used for e.g. low pass filtering. The implementation is a translation of biquad.c from Aubio, Copyright (C) 2003-2009 Paul Brossier

Author:
Joren Six

Constructor Summary
BiQuadFilter(double b1, double b2, double b3, double a2, double a3)
           
 
Method Summary
 void doFiltering(float[] in, float[] tmp)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BiQuadFilter

public BiQuadFilter(double b1,
                    double b2,
                    double b3,
                    double a2,
                    double a3)
Method Detail

doFiltering

public void doFiltering(float[] in,
                        float[] tmp)