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

  1. /*******************************************/
  2. /*  1st order allpass filter.              */ 
  3. /*  by Perry R. Cook, 1995-96              */ 
  4. /*  A special case of the one pole         */
  5. /*  one zero filter.                       */
  6. /*******************************************/
  7.  
  8. #include "Filter.h"
  9.  
  10. #if !defined(__AllPass1_h)
  11. #define __AllPass1_h
  12.  
  13. #include "Filter.h"
  14.  
  15. class AllPass1 : Filter
  16. {
  17.   public:
  18.     AllPass1();
  19.     ~AllPass1();
  20.     void clear();
  21.     MY_FLOAT tick(MY_FLOAT sample);
  22. };
  23.  
  24. #endif
  25.