Home Information Classes Download Usage Mail List Requirements Links Tutorial
00001 /***************************************************/ 00011 /***************************************************/ 00012 00013 #if !defined(__SUBNOISE_H) 00014 #define __SUBNOISE_H 00015 00016 #include "Noise.h" 00017 00018 class SubNoise : public Noise 00019 { 00020 public: 00021 00023 SubNoise(int subRate = 16); 00024 00026 ~SubNoise(); 00027 00029 int subRate(void) const; 00030 00032 void setRate(int subRate); 00033 00035 MY_FLOAT tick(); 00036 00037 protected: 00038 int counter; 00039 int rate; 00040 00041 }; 00042 00043 #endif
The Synthesis ToolKit in C++ (STK) |
©1995-2004 Perry R. Cook and Gary P. Scavone. All Rights Reserved. |