Mercurial > hg > midi-score-follower
view jnmr/Annotations.h @ 49:3ce6dadd8167
Added src for the results calculator, comparing match output with the JNMR midi follower output
author | Andrew N Robertson <andrew.robertson@eecs.qmul.ac.uk> |
---|---|
date | Fri, 23 Mar 2012 10:53:57 +0000 |
parents | c3d32207565f |
children |
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; float midiTime; }; class Annotations{ public: Annotations(); //void readInSomeValues(); void readInRWCfile(std::string& pathName); //~Annotations(); void printAnnotations(); vector<Notation> rwcAnnotations; }; #endif