home *** CD-ROM | disk | FTP | other *** search
/ PC Musician 2000 / PC_Musician_2000.iso / PCMUSIC / NOTATION / SILENCE / SUBNOISE.H < prev    next >
Encoding:
C/C++ Source or Header  |  1996-02-18  |  523 b   |  26 lines

  1. /*******************************************/
  2. /*  SubSampled Noise Generator Class,      */
  3. /*  by Perry R. Cook, 1995-96              */ 
  4. /*  White noise as often as you like.      */
  5. /*******************************************/
  6.  
  7. #if !defined(__SubNoise_h)
  8. #define __SubNoise_h
  9.  
  10. #include "Noise.h"
  11.  
  12. class SubNoise : public Noise
  13. {
  14.   protected:  
  15.      int counter;
  16.      int howOften;
  17.   public:
  18.     SubNoise();
  19.     ~SubNoise();
  20.     SubNoise(int subSample);
  21.     void setHowOften(int howOft);
  22.     MY_FLOAT tick();
  23. };
  24.  
  25. #endif
  26.