Arduino STK  4.6.2
ModalBar.h
1 #ifndef STK_MODALBAR_H
2 #define STK_MODALBAR_H
3 
4 #include "Modal.h"
5 
6 namespace stk {
7 
8 /***************************************************/
36 /***************************************************/
37 
38 class ModalBar : public Modal
39 {
40 public:
42  ModalBar( void );
43 
45  ~ModalBar( void );
46 
48  void setStickHardness( StkFloat hardness );
49 
51  void setStrikePosition( StkFloat position );
52 
54  void setPreset( int preset );
55 
57  void setModulationDepth( StkFloat mDepth );
58 
60  void controlChange( int number, StkFloat value );
61 };
62 
63 } // stk namespace
64 
65 #endif
STK resonant bar instrument class.
Definition: ModalBar.h:39
ModalBar(void)
Class constructor.
void setPreset(int preset)
Select a bar preset (currently modulo 9).
void setStrikePosition(StkFloat position)
Set stick position (0.0 - 1.0).
void controlChange(int number, StkFloat value)
Perform the control change specified by number and value (0.0 - 128.0).
~ModalBar(void)
Class destructor.
void setStickHardness(StkFloat hardness)
Set stick hardness (0.0 - 1.0).
void setModulationDepth(StkFloat mDepth)
Set the modulation (vibrato) depth.
STK resonance model abstract base class.
Definition: Modal.h:29
The STK namespace.
Definition: ADSR.h:8