C:/Documents and Settings/Alessandro/Documenti/Programmazione/CodeBlocks/AudioDrome/include/AudioDrome/ThresHold.h

00001 /***************************************************/
00014 /***************************************************/
00015 
00016 #ifndef THRESHOLD_H
00017 #define THRESHOLD_H
00018 
00019 #include "AudioDrome.h"
00020 
00021 class ThresHold : public AudioDrome
00022 {
00023 public:
00025 
00029     ThresHold (const float &sr=44100);
00030 
00032     ~ThresHold ();
00033 
00035 
00045     void setMode (unsigned short mode);
00046 
00048     void setThresHold (const float &threshold);
00049 
00051 
00055     bool outSig (const float &input);
00056 
00057 protected:
00058     float _threshold;
00059     float _old_sig;
00060 
00061 private:
00062     bool (ThresHold::*_modePtr) (const float &);
00063     bool Up (const float &input);
00064     bool Down (const float &input);
00065     bool Both (const float &input);
00066 };
00067 #endif

Generato il Tue Dec 26 14:42:31 2006 per AudioDrome da  doxygen 1.4.7