Home Information Classes Download Usage Mail List Requirements Links Tutorial

# TwoZero.h

    00001 /***************************************************/
    00013 /***************************************************/
    00014
    00015 #if !defined(__TWOZERO_H)
    00016 #define __TWOZERO_H
    00017
    00018 #include "Filter.h"
    00019
    00020 class TwoZero : protected Filter
    00021 {
    00022  public:
    00024   TwoZero();
    00025
    00027   ~TwoZero();
    00028
    00030   void clear(void);
    00031
    00033   void setB0(MY_FLOAT b0);
    00034
    00036   void setB1(MY_FLOAT b1);
    00037
    00039   void setB2(MY_FLOAT b2);
    00040
    00042
    00052   void setNotch(MY_FLOAT frequency, MY_FLOAT radius);
    00053
    00055
    00059   void setGain(MY_FLOAT theGain);
    00060
    00062   MY_FLOAT getGain(void) const;
    00063
    00065   MY_FLOAT lastOut(void) const;
    00066
    00068   MY_FLOAT tick(MY_FLOAT sample);
    00069
    00071   MY_FLOAT *tick(MY_FLOAT *vector, unsigned int vectorSize);
    00072 };
    00073
    00074 #endif

The Synthesis ToolKit in C++ (STK)
©1995-2004 Perry R. Cook and Gary P. Scavone. All Rights Reserved.