Home Information Classes Download Usage Mail List Requirements Links 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; 00030 00032 void setRate(int subRate); 00033 00035 StkFloat tick(); 00036 00038 StkFloat *tick( StkFloat *vector, unsigned int vectorSize ); 00039 00041 00047 StkFrames& tick( StkFrames& frames, unsigned int channel = 1 ); 00048 00049 protected: 00050 int counter_; 00051 int rate_; 00052 00053 }; 00054 00055 #endif
The Synthesis ToolKit in C++ (STK) |
©1995-2004 Perry R. Cook and Gary P. Scavone. All Rights Reserved. |