summaryrefslogtreecommitdiff
path: root/muse2/muse/plugin.h
diff options
context:
space:
mode:
authorTim E. Real <termtech@rogers.com>2012-11-17 10:03:17 +0000
committerTim E. Real <termtech@rogers.com>2012-11-17 10:03:17 +0000
commit09ac0c4c9a32cdba453812c4ac1199414fcc2719 (patch)
tree88147e3b93dfd17142d0c80f2117cc3c313ac518 /muse2/muse/plugin.h
parent499c8bfc244f631304fe0c15449a31b442ebe0d7 (diff)
Improved: Deicsonze soft synthesizer: Fixed crash, bugs, added ladspa plugins.
TODO: No plugin control automation. Log slider/entry ranges. Add delay wet/dry?
Diffstat (limited to 'muse2/muse/plugin.h')
-rw-r--r--muse2/muse/plugin.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/muse2/muse/plugin.h b/muse2/muse/plugin.h
index 4de0de11..25d434ca 100644
--- a/muse2/muse/plugin.h
+++ b/muse2/muse/plugin.h
@@ -391,6 +391,7 @@ class PluginI : public PluginIBase {
unsigned long parameters() const { return controlPorts; }
unsigned long parametersOut() const { return controlOutPorts; }
void setParam(unsigned long i, float val);
+ void putParam(unsigned long i, float val) { controls[i].val = controls[i].tmpVal = val; }
float param(unsigned long i) const { return controls[i].val; }
float paramOut(unsigned long i) const { return controlsOut[i].val; }
float defaultValue(unsigned long param) const;