Mercurial > hg > multitrack-audio-matcher
comparison src/testApp.cpp @ 15:780def3a1f36
Changed to have any definition - re midi matcher bug fix - and bringing in start and stop functions
author | Andrew N Robertson <andrew.robertson@eecs.qmul.ac.uk> |
---|---|
date | Sun, 05 Feb 2012 22:08:50 +0000 |
parents | cbadb9d05d29 |
children | 680ba08e9925 |
comparison
equal
deleted
inserted
replaced
14:0a52258accec | 15:780def3a1f36 |
---|---|
84 printf("start!\n"); | 84 printf("start!\n"); |
85 printf("STRART TIME IN %i\n", ofGetElapsedTimeMillis()); | 85 printf("STRART TIME IN %i\n", ofGetElapsedTimeMillis()); |
86 eventMatcher.startPlaying(); | 86 eventMatcher.startPlaying(); |
87 printf("TIME OUT %i\n", ofGetElapsedTimeMillis()); | 87 printf("TIME OUT %i\n", ofGetElapsedTimeMillis()); |
88 } | 88 } |
89 | |
90 if ( m.getAddress() == "/stop" ){ | |
91 printf("stop!\n"); | |
92 eventMatcher.stopPlaying(); | |
93 } | |
94 | |
89 } | 95 } |
90 } | 96 } |
91 | 97 |
92 //-------------------------------------------------------------- | 98 //-------------------------------------------------------------- |
93 void testApp::draw(){ | 99 void testApp::draw(){ |