andrew@36: /* andrew@36: * annotations.h andrew@36: * jnmr_MidiFollower andrew@36: * andrew@36: * Created by Andrew on 15/12/2011. andrew@36: * Copyright 2011 QMUL. All rights reserved. andrew@36: * andrew@36: */ andrew@36: andrew@36: #ifndef ANNOTATIONS andrew@36: #define ANNOTATIONS andrew@36: andrew@36: #include "ofMain.h" andrew@36: andrew@36: // basic file operations for text file stuff andrew@36: #include andrew@36: #include andrew@36: using namespace std; andrew@36: andrew@36: struct Notation { andrew@36: int midiNote; andrew@36: float beatLocation; andrew@36: float eventTime; andrew@49: float midiTime; andrew@36: }; andrew@36: andrew@36: class Annotations{ andrew@36: public: andrew@36: Annotations(); andrew@38: //void readInSomeValues(); andrew@38: void readInRWCfile(std::string& pathName); andrew@36: //~Annotations(); andrew@36: void printAnnotations(); andrew@36: vector rwcAnnotations; andrew@36: andrew@36: }; andrew@36: #endif andrew@36: