Mercurial > hg > multitrack-audio-matcher
comparison src/testApp.cpp @ 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 |
---|---|
36 } | 36 } |
37 | 37 |
38 | 38 |
39 //-------------------------------------------------------------- | 39 //-------------------------------------------------------------- |
40 void testApp::update(){ | 40 void testApp::update(){ |
41 | 41 eventMatcher.updatePosition(); |
42 eventMatcher.recordedTracks.updatePosition(); | 42 |
43 eventMatcher.updateBestAlignmentPosition(); | |
44 checkForOSCmessages(); | 43 checkForOSCmessages(); |
45 | 44 |
46 } | 45 } |
47 | 46 |
48 void testApp::checkForOSCmessages(){ | 47 void testApp::checkForOSCmessages(){ |