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

00001 /***************************************************/
00012 /***************************************************/
00013 
00014 #ifndef PHASOR_H
00015 #define PHASOR_H
00016 
00017 #include "AudioDrome.h"
00018 
00019 class Phasor : public AudioDrome
00020 {
00021 public:
00023 
00027     Phasor (const float &sr=44100);
00028 
00030     virtual ~Phasor ();
00031 
00033 
00037     void setFrequency (const float &freq=1);
00038 
00040 
00043     void setPhase (const float &phi=0);
00044 
00046 
00051     bool getTrigger () const;
00052 
00054 
00059     virtual float outSig ();
00060 
00061 protected:
00062     bool _trigger;
00063     double _phi;
00064     double _incr;
00065     float _sample;
00066 };
00067 #endif

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