Mercurial > hg > midi-score-follower
view jnmr/Annotations.h @ 36:5a1b0c6fa1fb
Added class to read in the csv Annotation file, then write out the respective difference between the performed piece as followed here, and the annotation of RWC by Ewert and Muller
author | Andrew N Robertson <andrew.robertson@eecs.qmul.ac.uk> |
---|---|
date | Thu, 15 Dec 2011 02:28:49 +0000 |
parents | |
children | c3d32207565f |
line wrap: on
line source
/* * annotations.h * jnmr_MidiFollower * * Created by Andrew on 15/12/2011. * Copyright 2011 QMUL. All rights reserved. * */ #ifndef ANNOTATIONS #define ANNOTATIONS #include "ofMain.h" // basic file operations for text file stuff #include <iostream> #include <fstream> using namespace std; struct Notation { int midiNote; float beatLocation; float eventTime; }; class Annotations{ public: Annotations(); void readInSomeValues(); //~Annotations(); void printAnnotations(); vector<Notation> rwcAnnotations; }; #endif