Mercurial > hg > midi-score-follower
comparison jnmr/testApp.cpp @ 45:90ad1817ca56
Working version of the score follower using annotations read in from RWC set. Links player to midi file from rwc set
author | Andrew N Robertson <andrew.robertson@eecs.qmul.ac.uk> |
---|---|
date | Sun, 05 Feb 2012 10:00:34 +0000 |
parents | 6c8a048720c3 |
children | 43edc8abe2a7 |
comparison
equal
deleted
inserted
replaced
44:6c8a048720c3 | 45:90ad1817ca56 |
---|---|
7 | 7 |
8 //-------------------------------------------------------------- | 8 //-------------------------------------------------------------- |
9 void testApp::setup(){ | 9 void testApp::setup(){ |
10 | 10 |
11 | 11 |
12 | |
13 root = "/Users/andrew/Documents/work/MuseScore/RWC/Classical_RWC_Groundtruth/RM-C0"; | |
14 outputFileRoot = "../../../data/FilesOut/rwcOutputData_RM-C0"; | |
15 | |
16 myfile.open("../../../data/FilesOut/exampletest2.txt"); | |
17 | |
18 | |
19 | |
20 // diffFile.open("../../../data/FilesOut/diffTest.txt"); | |
21 | |
12 midiEvents.fileOutput = &myfile; | 22 midiEvents.fileOutput = &myfile; |
13 midiEvents.differenceOutput = &diffFile; | 23 midiEvents.differenceOutput = &diffFile; |
14 | 24 |
15 root = "/Users/andrew/Documents/work/MuseScore/RWC/Classical_RWC_Groundtruth/RM-C0"; | |
16 outputFileRoot = "../../../data/FilesOut/rwcOutputData_RM-C0"; | |
17 | |
18 myfile.open("../../../data/FilesOut/exampletest2.txt"); | |
19 // diffFile.open("../../../data/FilesOut/diffTest.txt"); | |
20 | 25 |
21 this->args->printArgs(); | 26 this->args->printArgs(); |
22 this->args->printOpts(); | 27 this->args->printOpts(); |
23 | 28 |
24 createRWCfilenameStrings(); | 29 createRWCfilenameStrings(); |