jass.generators
Class BiQuad

java.lang.Object
  extended by jass.generators.BiQuadFilterBase
      extended by jass.generators.BiQuad
All Implemented Interfaces:
Filter

public class BiQuad
extends BiQuadFilterBase

Biquad bandpass Filter See bottom of BiQuadFilterBase.java for details. This implementation has normalized a0=1

Author:
Kees van den Doel (kvdoel@cs.ubc.ca)

Field Summary
static int BP
           
static int HP
           
static int LP
           
protected  float srate
           
protected  int type
           
 
Fields inherited from class jass.generators.BiQuadFilterBase
a1, a2, b0, b1, b2, xt_1, xt_2, yt_1, yt_2
 
Constructor Summary
BiQuad(float srate, int type)
           
 
Method Summary
 float getBW()
           
 float getF0()
           
 float getQ()
           
static void main(java.lang.String[] args)
           
 void setBW(float bw)
           
 void setF0(float f0)
           
 void setQ(float q)
           
 
Methods inherited from class jass.generators.BiQuadFilterBase
filter, reset, setComplement
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

srate

protected float srate

LP

public static final int LP
See Also:
Constant Field Values

HP

public static final int HP
See Also:
Constant Field Values

BP

public static final int BP
See Also:
Constant Field Values

type

protected int type
Constructor Detail

BiQuad

public BiQuad(float srate,
              int type)
Method Detail

setF0

public void setF0(float f0)

setBW

public void setBW(float bw)

setQ

public void setQ(float q)

getF0

public float getF0()

getBW

public float getBW()

getQ

public float getQ()

main

public static void main(java.lang.String[] args)
                 throws java.lang.Exception
Throws:
java.lang.Exception