view jnmr/Annotations.h @ 52:13194a9dca77 tip

Added exporting of image and text data
author Andrew N Robertson <andrew.robertson@eecs.qmul.ac.uk>
date Tue, 17 Jul 2012 22:13:10 +0100
parents 3ce6dadd8167
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