Home Information Classes Download Usage Mail List Requirements Tutorial
#include <Moog.h>
Inheritance diagram for Moog::
Public Methods | |
Moog () | |
Class constructor. | |
~Moog () | |
Class destructor. | |
virtual void | setFrequency (MY_FLOAT frequency) |
Set instrument parameters for a particular frequency. | |
virtual void | noteOn (MY_FLOAT frequency, MY_FLOAT amplitude) |
Start a note with the given frequency and amplitude. | |
void | setModulationSpeed (MY_FLOAT mSpeed) |
Set the modulation (vibrato) speed in Hz. | |
void | setModulationDepth (MY_FLOAT mDepth) |
Set the modulation (vibrato) depth. | |
virtual MY_FLOAT | tick () |
Compute one output sample. | |
virtual void | controlChange (int number, MY_FLOAT value) |
Perform the control change specified by number and value (0.0 - 128.0). |
This instrument uses one attack wave, one looped wave, and an ADSR envelope (inherited from the Sampler class) and adds two sweepable formant (FormSwep) filters.
Control Change Numbers:
by Perry R. Cook and Gary P. Scavone, 1995 - 2002.
The Synthesis ToolKit in C++ (STK) |
©1995-2002 Perry R. Cook and Gary P. Scavone. All Rights Reserved. |