21#ifndef YASE_CONTROLS_H
22#define YASE_CONTROLS_H
92 Controls &map(
Module &module,
string name,
double min,
double max,
int midi_id);
93 Controls &map(
Module &module,
int index,
double min,
double max,
int midi_id);
104 std::vector<Fader *> faders;
A module and event manager that can contain other modules.
Definition container.hh:63
Use a Controls object to connect MIDI knobs and faders to Module inputs.
Definition controls.hh:82
Controls & set_tracking_gain(double x)
Definition controls.cc:133
Controls & map(Fader &fader, int midi_id)
Definition controls.cc:50
void randomize()
Randomly assign a value to all controls.
Definition controls.cc:158
void init()
Definition controls.cc:39
Controls & linear()
Set the most recently added control's response to linear.
Definition controls.cc:141
void update()
Definition controls.cc:43
Controls & exponential(double base)
Definition controls.cc:150
A Fader Module maps an input target to an output value.
Definition fader.hh:40
An abstract base class for modules.
Definition module.hh:39
Definition additive_saw.cc:24