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

  1. /*******************************************/
  2. /*  Swept Filter SubClass of Sampling      */
  3. /*  Synthesizer,  by Perry R. Cook, 1995-96*/ 
  4. /*  This instrument inherits up to 5       */
  5. /*  attack waves, 5 looped waves, an ADSR  */
  6. /*  envelope, and adds a 4 pole swept      */
  7. /*  filter.                                */
  8. /*******************************************/
  9.  
  10. #if !defined(__SamplFlt_h)
  11. #define __SamplFlt_h
  12.  
  13. #include "Sampler.h"
  14. #include "FormSwep.h"
  15. #include "TwoZero.h"
  16.  
  17. class SamplFlt : public Sampler
  18. {
  19.   protected:  
  20.     FormSwep *filters[2];
  21.     TwoZero  *twozeroes[2];
  22.   public:
  23.     SamplFlt();
  24.     ~SamplFlt();
  25.     virtual MY_FLOAT tick();
  26.     virtual void controlChange(int number, MY_FLOAT value);
  27. };
  28.  
  29. #endif
  30.