15 float *control_points;
35 float param_base_value;
45 #define RTOSC_AUTOMATION_SLOT_NAME_LEN 84 void createBinding(
int slot,
const char *path,
bool start_midi_learn);
86 void updateMapping(
int slot,
int sub);
91 void setSlot(
int slot_id,
float value);
92 void setSlotSub(
int slot_id,
int sub,
float value);
93 float getSlot(
int slot_id);
95 void clearSlot(
int slot_id);
96 void clearSlotSub(
int slot_id,
int sub);
98 void setSlotSubPath(
int slot_id,
int sub,
const char *msg);
99 void setSlotSubGain(
int slot_id,
int sub,
float f);
100 float getSlotSubGain(
int slot_id,
int sub);
101 void setSlotSubOffset(
int slot_id,
int sub,
float f);
102 float getSlotSubOffset(
int slot_id,
int sub);
106 void setName(
int slot_id,
const char *msg);
107 const char * getName(
int slot_id);
109 bool handleMidi(
int channel,
int cc,
int val);
111 void set_ports(
const struct Ports &p);
113 void set_instance(
void *v);
115 void simpleSlope(
int slot,
int au,
float slope,
float offset);
117 int free_slot(
void)
const;
124 struct AutomationMgrImpl *impl;
128 std::function<void(
const char *)> backend;
Ports - a dispatchable collection of Port entries.
Definition: ports.h:157
Definition: automations.h:70
Functions handling messages and arguments.
Collection of functions for ports.
Definition: automations.h:23
Definition: automations.h:5
Definition: automations.h:46
void createBinding(int slot, const char *path, bool start_midi_learn)
Create an Automation binding.