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

  1. /*******************************************/
  2. /*  Noise Generator Class,                 */
  3. /*  by Perry R. Cook, 1995-96              */ 
  4. /*  White noise as often as you like.      */
  5. /*******************************************/
  6.  
  7. #if !defined(__Noise_h)
  8. #define __Noise_h
  9.  
  10. #include "Object.h"
  11.  
  12. class Noise : public Object
  13. {
  14.   protected:  
  15.      MY_FLOAT lastOutput;
  16.   public:
  17.     Noise();
  18.     ~Noise();
  19.     virtual MY_FLOAT tick();
  20.     MY_FLOAT lastOut();
  21. };
  22.  
  23. #endif
  24.