Mercurial > hg > midi-score-follower
view matchAnnotationSrc/jnmrMidiPlayerAnnotations.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 | |
children |
line wrap: on
line source
/* * jnmrMidiPlayerannotations.h * matchJNMRannotationReader * * Created by Andrew on 23/03/2012. * Copyright 2012 QMUL. All rights reserved. * */ #ifndef JNMR_ANNOTATIONS #define JNMR_ANNOTATIONS #include "ofMain.h" #include <iostream> #include <fstream> using namespace std; struct jnmrMidiPlayerNotation { float midiTime; float audioTime; float difference; }; class jnmrMidiPlayerAnnotations{ public: //matchAnnotations(); void readInjnmrMidiPlayerFile(std::string& pathName); //~Annotations(); void printAnnotations(); vector<jnmrMidiPlayerNotation> jnmrMidiPlayerData; vector<float> differences; }; #endif