⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 wurley.h

📁 Mobile STK for Symbian OS V0.1
💻 H
字号:
/***************************************************//*! \class Wurley    \brief STK Wurlitzer electric piano FM           synthesis instrument.    This class implements two simple FM Pairs    summed together, also referred to as algorithm    5 of the TX81Z.    \code    Algorithm 5 is :  4->3--\                             + --> Out                      2->1--/    \endcode    Control Change Numbers:        - Modulator Index One = 2       - Crossfade of Outputs = 4       - LFO Speed = 11       - LFO Depth = 1       - ADSR 2 & 4 Target = 128    The basic Chowning/Stanford FM patent expired    in 1995, but there exist follow-on patents,    mostly assigned to Yamaha.  If you are of the    type who should worry about this (making    money) worry away.    by Perry R. Cook and Gary P. Scavone, 1995 - 2005.*//***************************************************/#ifndef STK_WURLEY_H#define STK_WURLEY_H#include "FM.h"//#if !defined(SYMBIAN)class Wurley : public FM{ public:  //! Class constructor.  /*!    An StkError will be thrown if the rawwave path is incorrectly set.  */  Wurley();  //! Class destructor.  ~Wurley();  //! Set instrument parameters for a particular frequency.  void setFrequency(StkFloat frequency);  //! Start a note with the given frequency and amplitude.  void noteOn(StkFloat frequency, StkFloat amplitude); protected:  StkFloat computeSample( void );};//#endif // SYMBIAN#endif

⌨️ 快捷键说明

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