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

  1. /*******************************************/
  2. /*  DC Blocking Filter                     */ 
  3. /*  by Perry R. Cook, 1995-96              */ 
  4. /*  This guy is very helpful in, uh,       */
  5. /*  blocking DC.  Needed because a simple  */
  6. /*  low-pass reflection filter allows DC   */
  7. /*  to build up inside recursive           */ 
  8. /*  structures.                            */
  9. /*******************************************/
  10.  
  11. #if !defined(__DCBlock_h)
  12. #define __DCBlock_h
  13.  
  14. #include "Filter.h"
  15.  
  16. class DCBlock : public Filter
  17. {
  18.   public:
  19.     DCBlock();
  20.     ~DCBlock();
  21.     void clear();
  22.     MY_FLOAT tick(MY_FLOAT sample);
  23. };
  24.  
  25. #endif
  26.