Mercurial > hg > multitrack-audio-matcher
diff 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 |
line wrap: on
line diff
--- a/src/AudioEventMatcher.h Fri Feb 03 13:28:59 2012 +0000 +++ b/src/AudioEventMatcher.h Fri Feb 03 17:53:14 2012 +0000 @@ -28,6 +28,7 @@ void setArraySizes(); + void updatePosition(); void updateBestAlignmentPosition(); void draw(); @@ -70,6 +71,9 @@ double recentEventTime[3]; double startTime; - + + double screenStartTimeMillis, screenEndTimeMillis, screenWidthMillis; + bool followingLiveInput; + void setScreenDisplayTimes(); }; #endif