// // Programmer: Craig Stuart Sapp // Creation Date: Sun Apr 20 21:00:17 GMT-0800 1997 // Last Modified: Fri Mar 27 01:44:43 GMT-0800 1998 // Filename: ...sig/maint/code/Filter/Allpass/Allpass.h // Web Address: http://sig.sapp.org/include/sig/Allpass.h // Documentation: http://sig.sapp.org/doc/classes/Allpass // Syntax: C++ // #ifndef _ALLPASS_H_INCLUDED #define _ALLPASS_H_INCLUDED #include "Filter.h" #include "Delay.h" class Allpass : public Filter { public: Allpass (int aMaxDelay = 4000); ~Allpass (); void action (void); void clear (void); sampleType getDelay (void); sampleType getGain (void); sampleType getInput (void); sampleType getLoopTime (void); sampleType getMaxDelay (void); sampleType getReverbTime (void); sampleType output (int channel = 0); void setDelay (sampleType aValue); void setDelay (Signal& aSignal, int outputChannel); void setDelay (Signal* aSignal, int outputChannel); void setGain (sampleType aValue); void setGain (Signal& aSignal, int outputChannel = 0); void setGain (Signal* aSignal, int outputChannel = 0); void setInput (sampleType aValue); void setInput (Signal& aSignal, int outputChannel = 0); void setInput (Signal* aSignal, int outputChannel = 0); void setLoopTime (sampleType aLoopTime); void setMaxDelay (int aMax); void setReverbTime (sampleType aReverbTime); protected: sampleType outputValue; // current output of filter Delay delayline; // delay storage }; #endif // _ALLPASS_H_INCLUDED // md5sum: ba82c0fd7c7526c7e195d3f8fe618d46 Allpass.h [20010708]