comparison src/AudioEventMatcher.h @ 9:bc62266af280

Position scrolls with live input by updating the play position of onset detection to where the current best match is
author Andrew N Robertson <andrew.robertson@eecs.qmul.ac.uk>
date Fri, 03 Feb 2012 17:53:14 +0000
parents 572564b7cb85
children cbadb9d05d29
comparison
equal deleted inserted replaced
8:572564b7cb85 9:bc62266af280
26 public: 26 public:
27 AudioEventMatcher(); 27 AudioEventMatcher();
28 28
29 void setArraySizes(); 29 void setArraySizes();
30 30
31 void updatePosition();
31 void updateBestAlignmentPosition(); 32 void updateBestAlignmentPosition();
32 33
33 void draw(); 34 void draw();
34 void drawBayesianDistributions();; 35 void drawBayesianDistributions();;
35 void setWindowDimensions(); 36 void setWindowDimensions();
68 double currentAlignmentPosition; 69 double currentAlignmentPosition;
69 double lastAlignmentTime; 70 double lastAlignmentTime;
70 71
71 double recentEventTime[3]; 72 double recentEventTime[3];
72 double startTime; 73 double startTime;
73 74
75 double screenStartTimeMillis, screenEndTimeMillis, screenWidthMillis;
76 bool followingLiveInput;
77 void setScreenDisplayTimes();
74 }; 78 };
75 #endif 79 #endif