diff SynthParam.h @ 9:d5e928887f51

More refactoring. Mode for Synth value changes only sent to PD on triggering sound.
author Robert Tubb <rt300@eecs.qmul.ac.uk>
date Fri, 17 Oct 2014 17:50:41 +0100
parents a223551fdc1f
children
line wrap: on
line diff
--- a/SynthParam.h	Fri Oct 17 16:35:22 2014 +0100
+++ b/SynthParam.h	Fri Oct 17 17:50:41 2014 +0100
@@ -26,9 +26,11 @@
     };
     void setValue(int i){
         value = i;
-        // TODO should this send an eventlog message? what if called from randomise ? what if different synth?
         sendToPD();
     };
+    void setValueWithoutSend(int i){
+        value = i;
+    }
     int getValue() const{
         return value;
     }