1
/*********************************************/
3
/* by Georg Essl, 1999 */
4
/* For details refer to: */
5
/* G.Essl, P.R.Cook: "Banded Waveguides: */
6
/* Towards Physical Modelling of Bar */
7
/* Percussion Instruments", ICMC'99 */
8
/*********************************************/
10
#if !defined(__BowedBar_h)
19
class BowedBar : public Instrmnt
30
MY_FLOAT coeffs[4][2];
41
MY_FLOAT integration_const;
43
MY_FLOAT bowvel, bowTarg, bowPos, lastBowPos;
49
void tuneBandPasses();
51
void startBowing(MY_FLOAT amplitude,MY_FLOAT rate);
52
void stopBowing(MY_FLOAT rate);
53
void pluck(MY_FLOAT amp);
54
void setStrikePosition(MY_FLOAT position);
55
void noteOn(MY_FLOAT freq, MY_FLOAT amp);
56
void noteOff(MY_FLOAT amp);
57
void setFreq(MY_FLOAT frequency);
58
void controlChange(int number, MY_FLOAT value);