comparison jnmr/midiEventHolder.h @ 52:13194a9dca77 tip

Added exporting of image and text data
author Andrew N Robertson <andrew.robertson@eecs.qmul.ac.uk>
date Tue, 17 Jul 2012 22:13:10 +0100
parents 158f5f38e9d3
children
comparison
equal deleted inserted replaced
51:ef30f465a904 52:13194a9dca77
10 #define MIDI_EVENT_HOLDER 10 #define MIDI_EVENT_HOLDER
11 11
12 #include "ofMain.h" 12 #include "ofMain.h"
13 #include "BayesianArrayStructure.h" 13 #include "BayesianArrayStructure.h"
14 #include "Annotations.h" 14 #include "Annotations.h"
15 #include "OutputDataWriter.h"
16
15 17
16 class midiEventHolder{ 18 class midiEventHolder{
17 19
18 public: 20 public:
19 21
196 double smoothDifference; 198 double smoothDifference;
197 double lastUpdatePosition, lastUpdatePlayingTime; 199 double lastUpdatePosition, lastUpdatePlayingTime;
198 double outputPosition;//debug variable 200 double outputPosition;//debug variable
199 201
200 void testSpeedPriorSetting(); 202 void testSpeedPriorSetting();
203
204 bool printInfo;
205 OutputDataWriter dataWriter;
206 void writeAllDistributions();
207 void writeDistribution(DynamicVector& distribution, std::string file);
208 ofImage img;
209 void saveImageFile(std::string file);
210 bool saveImage;
211
201 }; 212 };
202 #endif 213 #endif