
Home Information Classes Download Usage Mail List Requirements Links Tutorial
#include <Shakers.h>
Inheritance diagram for Shakers:

PhISEM (Physically Informed Stochastic Event Modeling) is an algorithmic approach for simulating collisions of multiple independent sound producing objects. This class is a meta-model that can simulate a Maraca, Sekere, Cabasa, Bamboo Wind Chimes, Water Drops, Tambourine, Sleighbells, and a Guiro.
PhOLIES (Physically-Oriented Library of Imitated Environmental Sounds) is a similar approach for the synthesis of environmental sounds. This class implements simulations of breaking sticks, crunchy snow (or not), a wrench, sandpaper, and more.
Control Change Numbers:
by Perry R. Cook, 1996 - 2004.
Definition at line 63 of file Shakers.h.
Public Member Functions | |
| Shakers () | |
| Class constructor. | |
| ~Shakers () | |
| Class destructor. | |
| void | noteOn (StkFloat instrument, StkFloat amplitude) |
| Start a note with the given instrument and amplitude. | |
| void | noteOff (StkFloat amplitude) |
| Stop a note with the given amplitude (speed of decay). | |
| StkFloat | tick () |
| Compute one output sample. | |
| StkFloat * | tick (StkFloat *vector, unsigned int vectorSize) |
| Computer vectorSize outputs and return them in vector. | |
| StkFrames & | tick (StkFrames &frames, unsigned int channel=1) |
| Fill a channel of the StkFrames object with computed outputs. | |
| void | controlChange (int number, StkFloat value) |
| Perform the control change specified by number and value (0.0 - 128.0). | |
|
||||||||||||
|
Start a note with the given instrument and amplitude. Use the instrument numbers above, converted to frequency values as if MIDI note numbers, to select a particular instrument. Implements Instrmnt. |
|
||||||||||||
|
Fill a channel of the StkFrames object with computed outputs.
The Reimplemented from Instrmnt. |
| The Synthesis ToolKit in C++ (STK) |
| ©1995-2004 Perry R. Cook and Gary P. Scavone. All Rights Reserved. |