comparison src/AudioEventMatcher.h @ 45:d23685b9e766

Fixed the alignment error caluculations and added histogram plotting
author Andrew N Robertson <andrew.robertson@eecs.qmul.ac.uk>
date Tue, 08 May 2012 21:53:11 +0100
parents 9806a4f22fd0
children 93d21c20cfbc
comparison
equal deleted inserted replaced
44:73fbbc92fdfb 45:d23685b9e766
39 void draw(); 39 void draw();
40 void drawBayesianDistributions(); 40 void drawBayesianDistributions();
41 void drawPositionWindow(); 41 void drawPositionWindow();
42 void drawTrackLikelihoods(); 42 void drawTrackLikelihoods();
43 void drawInfo(); 43 void drawInfo();
44 void drawAlignmentTimes();
44 45
45 void setWindowDimensions(); 46 void setWindowDimensions();
46 int getScreenWidthIndexOfEventTime(const double& time); 47 int getScreenWidthIndexOfEventTime(const double& time);
48 int getTimeNow();
47 49
48 void newPitchEvent(const int& channel, const double& pitchIn, const double& timeIn); 50 void newPitchEvent(const int& channel, const double& pitchIn, const double& timeIn);
49 void newKickEvent(const double& timeIn); 51 void newKickEvent(const double& timeIn);
50 void newKickEvent(const int& channel, const double& timeIn); 52 void newKickEvent(const int& channel, const double& timeIn);
51 void newSnareEvent(const double& timeIn); 53 void newSnareEvent(const double& timeIn);