annotate matchAnnotationSrc/matchAnnotations.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
rev   line source
andrew@49 1 /*
andrew@49 2 * matchAnnotations.h
andrew@49 3 * matchJNMRannotationReader
andrew@49 4 *
andrew@49 5 * Created by Andrew on 22/03/2012.
andrew@49 6 * Copyright 2012 QMUL. All rights reserved.
andrew@49 7 *
andrew@49 8 */
andrew@49 9
andrew@49 10
andrew@49 11 #ifndef MATCH_ANNOTATIONS
andrew@49 12 #define MATCH_ANNOTATIONS
andrew@49 13
andrew@49 14 #include "ofMain.h"
andrew@49 15
andrew@49 16 #include <iostream>
andrew@49 17 #include <fstream>
andrew@49 18 using namespace std;
andrew@49 19
andrew@49 20 struct MatchNotation {
andrew@49 21
andrew@49 22 float midiTime;
andrew@49 23 float audioTime;
andrew@49 24 };
andrew@49 25
andrew@49 26 class matchAnnotations{
andrew@49 27 public:
andrew@49 28 //matchAnnotations();
andrew@49 29
andrew@49 30 void readInMatchFile(std::string& pathName);
andrew@49 31 //~Annotations();
andrew@49 32 void printAnnotations();
andrew@49 33 vector<MatchNotation> matchData;
andrew@49 34
andrew@49 35 };
andrew@49 36 #endif