Mercurial > hg > tweakathon2ios
view trainingTestController.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 | |
children |
line wrap: on
line source
// // trainingController.h // riftathon // // Created by Robert Tubb on 10/10/2014. // // this controls the sequence fo events, for both the slider UI and the VR one // it sends and recieves messages from a wrapper, it doesn't care which interface you're using // it only cares about the sequence of events #ifndef __riftathon__trainingController__ #define __riftathon__trainingController__ #include "presetManager.h" #include <iostream> // include message types ( or use defines? ) these message type should be sendable by osc / midi class TrainingTestController { public: int numParams; vector<Preset> presetSequence; // inputs void soundSubmitted(); void readyForNextSequence(); // outputs void presentTheSequence(); void showCountdown(); void startSearch(); // void makePresetSequence(int sequenceLength); Preset getRandomPreset(); }; #endif /* defined(__riftathon__trainingController__) */