comparison ExplorePresetManager.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 92850a2b099c
children af71bf84660f
comparison
equal deleted inserted replaced
9:d5e928887f51 10:e25d2b1b185e
85 85
86 //---------------------------------------------------------------------------- 86 //----------------------------------------------------------------------------
87 void presentNextPreset(){ 87 void presentNextPreset(){
88 88
89 } 89 }
90
91 Preset* getPreset(int index){
92
93 if (index >= thePresets.size()){
94 cout << "ERROR: index exceeds number of presets" << endl;
95 return NULL;
96 }else{
97 return thePresets[index];
98
99 }
100 };
90 protected: 101 protected:
91 int filledSlots; 102 int filledSlots;
92 string presetSlotFilename; 103 string presetSlotFilename;
93 104
94 vector<string> categories; 105 vector<string> categories;