Home Information Classes Download Usage Mail List Requirements Links FAQ Tutorial

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::ModalBar::ModalBar
ModalBar(void)
Class constructor.
stk::ModalBar::setPreset
void setPreset(int preset)
Select a bar preset (currently modulo 9).
stk::ModalBar::setStrikePosition
void setStrikePosition(StkFloat position)
Set stick position (0.0 - 1.0).
stk::ModalBar::controlChange
void controlChange(int number, StkFloat value)
Perform the control change specified by number and value (0.0 - 128.0).
stk::ModalBar::~ModalBar
~ModalBar(void)
Class destructor.
stk::ModalBar::setStickHardness
void setStickHardness(StkFloat hardness)
Set stick hardness (0.0 - 1.0).
stk::ModalBar::setModulationDepth
void setModulationDepth(StkFloat mDepth)
Set the modulation (vibrato) depth (0.0 - 1.0).
stk::Modal::Modal
Modal(unsigned int modes=4)
Class constructor, taking the desired number of modes to create.
stk
The STK namespace.
Definition ADSR.h:6

The Synthesis ToolKit in C++ (STK)
©1995--2023 Perry R. Cook and Gary P. Scavone. All Rights Reserved.