diff SearchMessageOrganiser.h @ 10:e25d2b1b185e

Sequence manager generates sequences of target sounds. psudocode for onTick()
author Robert Tubb <rt300@eecs.qmul.ac.uk>
date Fri, 17 Oct 2014 19:23:30 +0100
parents d5e928887f51
children 91c3fba6e5b9
line wrap: on
line diff
--- a/SearchMessageOrganiser.h	Fri Oct 17 17:50:41 2014 +0100
+++ b/SearchMessageOrganiser.h	Fri Oct 17 19:23:30 2014 +0100
@@ -219,28 +219,9 @@
                 showingHint = true;
             }
         }
-        if(mappingID == SAVE_PRESET_HIT){
-            expPresetManager.savePreset("blah", candidateSynth.getAllParamValues());
-            
-        }
-        if(mappingID == RECALL_PRESET_HIT){
-            
-            loadPreset("blah");
-            //candidateSynth.startMetronome();
-            
-        }
+
     }
-    //TODO move this
-    void loadPreset(string pname){
-        
-        vector<int> values = expPresetManager.recallPreset(pname);
-        if (values.size()){
-            candidateSynth.setAllParams(values);
-            setAllSlidersToValues(values);
-        }else{
-            cout << "ERROR, no preset found" << endl;
-        }
-    }
+
     // called from UI