Mercurial > hg > multitrack-audio-matcher
comparison annotationCalculatorSrc/testApp.h @ 46:ba36a1721538
Added abs median calculation, match forwards and backwards paths
author | Andrew N Robertson <andrew.robertson@eecs.qmul.ac.uk> |
---|---|
date | Tue, 08 May 2012 23:16:00 +0100 |
parents | d23685b9e766 |
children | 689704aa55d5 |
comparison
equal
deleted
inserted
replaced
45:d23685b9e766 | 46:ba36a1721538 |
---|---|
4 #include "BeatAnnotationReader.h" | 4 #include "BeatAnnotationReader.h" |
5 #include "PlotTools.h" | 5 #include "PlotTools.h" |
6 #include "MatchMultitrackAnnotationReader.h" | 6 #include "MatchMultitrackAnnotationReader.h" |
7 #include "Histogram.h" | 7 #include "Histogram.h" |
8 | 8 |
9 #define NUMBER_OF_SCREENS 3 | 9 #define NUMBER_OF_SCREENS 4 |
10 class testApp : public ofBaseApp{ | 10 class testApp : public ofBaseApp{ |
11 | 11 |
12 public: | 12 public: |
13 void setup(); | 13 void setup(); |
14 void update(); | 14 void update(); |
37 double xPlotMin, xPlotMax, yPlotMin, yPlotMax; | 37 double xPlotMin, xPlotMax, yPlotMin, yPlotMax; |
38 void getYvalues(); | 38 void getYvalues(); |
39 void printPlotValues(); | 39 void printPlotValues(); |
40 | 40 |
41 std::string matchPath; | 41 std::string matchPath; |
42 MatchMultitrackAnnotationReader matchNotations; | 42 MatchMultitrackAnnotationReader matchBackwardsNotations; |
43 MatchMultitrackAnnotationReader matchForwardNotations; | |
43 | 44 |
44 Histogram multiHistogram; | 45 Histogram multiHistogram; |
45 Histogram matchHistogram; | 46 Histogram matchBackwardsHistogram; |
47 Histogram matchForwardHistogram; | |
46 | 48 |
47 int screenToDraw; | 49 int screenToDraw; |
48 int histogramWidth, histogramBinNumber; | 50 int histogramWidth, histogramBinNumber; |
49 | 51 |
50 }; | 52 }; |