Home   Information   Classes   Download   Usage   Mail List   Requirements   Tutorial


Shakers Class Reference

PhISEM and PhOLIES class. More...

#include <Shakers.h>

Inheritance diagram for Shakers::

Instrmnt Stk List of all members.

Public Methods

 Shakers ()
 Class constructor.

 ~Shakers ()
 Class destructor.

virtual void noteOn (MY_FLOAT instrument, MY_FLOAT amplitude)
 Start a note with the given instrument and amplitude. More...

virtual void noteOff (MY_FLOAT amplitude)
 Stop a note with the given amplitude (speed of decay).

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).


Detailed Description

PhISEM and PhOLIES class.

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 - 1999.


Member Function Documentation

void Shakers::noteOn ( MY_FLOAT instrument,
MY_FLOAT amplitude ) [virtual]
 

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.

Reimplemented from Instrmnt.


The documentation for this class was generated from the following file:
The Synthesis ToolKit in C++ (STK)
©1995-2002 Perry R. Cook and Gary P. Scavone. All Rights Reserved.