prcrev.h
来自「Mobile STK for Symbian OS V0.1」· C头文件 代码 · 共 51 行
H
51 行
/***************************************************//*! \class PRCRev \brief Perry's simple reverberator class. This class is based on some of the famous Stanford/CCRMA reverbs (NRev, KipRev), which were based on the Chowning/Moorer/Schroeder reverberators using networks of simple allpass and comb delay filters. This class implements two series allpass units and two parallel comb filters. by Perry R. Cook and Gary P. Scavone, 1995 - 2005.*//***************************************************/#ifndef STK_PRCREV_H#define STK_PRCREV_H#include "Effect.h" #include "Delay.h" class PRCRev : public Effect{public: //! Class constructor taking a T60 decay time argument (one second default value). PRCRev( StkFloat T60 = 1.0 ); //! Class destructor. ~PRCRev(); //! Reset and clear all internal state. void clear(); //! Set the reverberation T60 decay time. void setT60( StkFloat T60 );protected: StkFloat computeSample( StkFloat input ); Delay allpassDelays_[2]; Delay combDelays_[2]; StkFloat allpassCoefficient_; StkFloat combCoefficient_[2];};#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?