Home Information Classes Download Usage Mail List Requirements Links FAQ Tutorial
00001 /***************************************************/ 00011 /***************************************************/ 00012 00013 #ifndef STK_SUBNOISE_H 00014 #define STK_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 { return rate_; }; 00030 00032 void setRate( int subRate ); 00033 00034 protected: 00035 00036 StkFloat computeSample( void ); 00037 00038 int counter_; 00039 int rate_; 00040 00041 }; 00042 00043 #endif
The Synthesis ToolKit in C++ (STK) |
©1995-2007 Perry R. Cook and Gary P. Scavone. All Rights Reserved. |