andrew@49: #pragma once andrew@49: andrew@49: #include "ofMain.h" andrew@49: andrew@49: #include "Annotations.h" andrew@49: #include "matchAnnotations.h" andrew@49: #include "jnmrMidiPlayerAnnotations.h" andrew@49: andrew@49: class testApp : public ofBaseApp{ andrew@49: andrew@49: public: andrew@49: void setup(); andrew@49: void update(); andrew@49: void draw(); andrew@49: andrew@49: void keyPressed (int key); andrew@49: void keyReleased(int key); andrew@49: void mouseMoved(int x, int y ); andrew@49: void mouseDragged(int x, int y, int button); andrew@49: void mousePressed(int x, int y, int button); andrew@49: void mouseReleased(int x, int y, int button); andrew@49: void windowResized(int w, int h); andrew@49: void dragEvent(ofDragInfo dragInfo); andrew@49: void gotMessage(ofMessage msg); andrew@49: andrew@49: Annotations rwcAnnotations; andrew@49: andrew@49: void loadRWCfileNumber(const int& i); andrew@49: vector rwcFileNameStrings; andrew@49: void createRWCfilenameStrings(); andrew@49: string annotationRoot ; andrew@49: std::string makeRWCfilename(std::string& root, const int& fileID, std::string& endPart); andrew@49: void loadAnnotation(const int& fileID); andrew@49: andrew@49: string matchPath; andrew@49: andrew@49: matchAnnotations matchNotations; andrew@49: andrew@49: string jnmrPlayerPath, jnmrPlayerRoot; andrew@49: jnmrMidiPlayerAnnotations jnmrPlayerAnnotations; andrew@49: andrew@49: void calculateMatchErrors(); andrew@49: void sortDifferenceVector(vector diffVec); andrew@49: andrew@49: };