mirror of
https://github.com/thestk/stk
synced 2026-01-11 20:11:52 +00:00
36 lines
1.1 KiB
C++
36 lines
1.1 KiB
C++
/**********************************************************/
|
|
/* PhISEM (Physically Informed Stochastic Event Modeling */
|
|
/* by Perry R. Cook, Princeton, February 1997 */
|
|
/* Meta-model that simulates all of: */
|
|
/* Maraca Simulation by Perry R. Cook, Princeton, 1996-7 */
|
|
/* Sekere Simulation by Perry R. Cook, Princeton, 1996-7 */
|
|
/* Cabasa Simulation by Perry R. Cook, Princeton, 1996-7 */
|
|
/* Bamboo Windchime Simulation, by Perry R. Cook, 1996-7 */
|
|
/* Water Drops Simulation, by Perry R. Cook, 1996-7 */
|
|
/* Tambourine Simulation, by Perry R. Cook, 1996-7 */
|
|
/* Sleighbells Simulation, by Perry R. Cook, 1996-7 */
|
|
/* Guiro Simulation, by Perry R. Cook, 1996-7 */
|
|
/**********************************************************/
|
|
|
|
|
|
#if !defined(__Shakers_h)
|
|
#define __Shakers_h
|
|
|
|
#include "Instrmnt.h"
|
|
|
|
|
|
class Shakers : public Instrmnt
|
|
{
|
|
protected:
|
|
int instType;
|
|
public:
|
|
Shakers();
|
|
~Shakers();
|
|
virtual void noteOn(MY_FLOAT freq, MY_FLOAT amp);
|
|
virtual void noteOff(MY_FLOAT amp);
|
|
MY_FLOAT tick();
|
|
virtual void controlChange(int number, MY_FLOAT value);
|
|
};
|
|
|
|
#endif
|