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

  1. /**********************************************/
  2. /*  One break point linear reed table object  */
  3. /*  by Perry R. Cook, 1995-96                 */
  4. /*  Consult McIntyre, Schumacher, & Woodhouse */
  5. /*        Smith, Hirschman, Cook, Scavone,    */
  6. /*        more for information.               */
  7. /**********************************************/
  8.  
  9. #include "Object.h"
  10.  
  11. class ReedTabl : public Object
  12. {
  13.   protected:  
  14.     MY_FLOAT offSet;
  15.     MY_FLOAT slope;
  16.     MY_FLOAT lastOutput;
  17.   public:
  18.     ReedTabl();
  19.     ~ReedTabl();
  20.     void setOffset(double aValue);
  21.     void setSlope(double aValue);
  22.     MY_FLOAT lookup(double deltaP);
  23.     MY_FLOAT lastOut();
  24. };
  25.