Mercurial > hg > midi-score-follower
view matchAnnotationSrc/matchAnnotations.h @ 51:ef30f465a904
some minor code changes to choose midi or audio match alignment
author | Andrew N Robertson <andrew.robertson@eecs.qmul.ac.uk> |
---|---|
date | Sat, 31 Mar 2012 14:04:49 +0100 |
parents | 3ce6dadd8167 |
children |
line wrap: on
line source
/* * matchAnnotations.h * matchJNMRannotationReader * * Created by Andrew on 22/03/2012. * Copyright 2012 QMUL. All rights reserved. * */ #ifndef MATCH_ANNOTATIONS #define MATCH_ANNOTATIONS #include "ofMain.h" #include <iostream> #include <fstream> using namespace std; struct MatchNotation { float midiTime; float audioTime; }; class matchAnnotations{ public: //matchAnnotations(); void readInMatchFile(std::string& pathName); //~Annotations(); void printAnnotations(); vector<MatchNotation> matchData; }; #endif