view matchAnnotationSrc/matchAnnotations.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
/*
 *  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