echo.h

来自「Mobile STK for Symbian OS V0.1」· C头文件 代码 · 共 49 行

H
49
字号
/***************************************************//*! \class Echo    \brief STK echo effect class.    This class implements an echo effect.    by Perry R. Cook and Gary P. Scavone, 1995 - 2005.*//***************************************************/#ifndef STK_ECHO_H#define STK_ECHO_H#include "Effect.h" #include "Delay.h" class Echo : public Effect{ public:  //! Class constructor, taking the longest desired delay length (one second default value).  /*!    The default delay value is set to 1/2 the maximum delay length.  */  Echo( unsigned long maximumDelay = (unsigned long) Stk::sampleRate() );  //! Class destructor.  ~Echo();  //! Reset and clear all internal state.  void clear();  //! Set the maximum delay line length in samples.  void setMaximumDelay( unsigned long delay );  //! Set the delay line length in samples.  void setDelay( unsigned long delay ); protected:  StkFloat computeSample( StkFloat input );  Delay delayLine_;  unsigned long length_;};#endif

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?