modalbar.h

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

H
62
字号
/***************************************************//*! \class ModalBar    \brief STK resonant bar instrument class.    This class implements a number of different    struck bar instruments.  It inherits from the    Modal class.    Control Change Numbers:        - Stick Hardness = 2       - Stick Position = 4       - Vibrato Gain = 1       - Vibrato Frequency = 11       - Direct Stick Mix = 8       - Volume = 128       - Modal Presets = 16         - Marimba = 0         - Vibraphone = 1         - Agogo = 2         - Wood1 = 3         - Reso = 4         - Wood2 = 5         - Beats = 6         - Two Fixed = 7         - Clump = 8    by Perry R. Cook and Gary P. Scavone, 1995 - 2005.*//***************************************************/#ifndef STK_MODALBAR_H#define STK_MODALBAR_H#include "Modal.h"class ModalBar : public Modal{public:  //! Class constructor.  ModalBar();  //! Class destructor.  ~ModalBar();  //! Set stick hardness (0.0 - 1.0).  void setStickHardness(StkFloat hardness);  //! Set stick position (0.0 - 1.0).  void setStrikePosition(StkFloat position);  //! Select a bar preset (currently modulo 9).  void setPreset(int preset);  //! Set the modulation (vibrato) depth.  void setModulationDepth(StkFloat mDepth);  //! Perform the control change specified by \e number and \e value (0.0 - 128.0).  void controlChange(int number, StkFloat value);};#endif

⌨️ 快捷键说明

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