Home   Information   Classes   Download   Usage   Mail List   Requirements   Tutorial


ModalBar Class Reference

STK resonant bar instrument class. More...

#include <ModalBar.h>

Inheritance diagram for ModalBar::

Modal Instrmnt Stk List of all members.

Public Methods

 ModalBar ()
 Class constructor.

 ~ModalBar ()
 Class destructor.

void setStickHardness (MY_FLOAT hardness)
 Set stick hardness (0.0 - 1.0).

void setStrikePosition (MY_FLOAT position)
 Set stick position (0.0 - 1.0).

void setPreset (int preset)
 Select a bar preset (currently modulo 9).

void setModulationDepth (MY_FLOAT mDepth)
 Set the modulation (vibrato) depth.

void controlChange (int number, MY_FLOAT value)
 Perform the control change specified by number and value (0.0 - 128.0).


Detailed Description

STK resonant bar instrument class.

This class implements a number of different struck bar instruments. It inherits from the Modal class.

Control Change Numbers:

by Perry R. Cook and Gary P. Scavone, 1995 - 2002.


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.