Mercurial > hg > precise-onset-detection
view src/BeatWriter.h @ 5:1e636a3511fb
added beat annotations
author | Andrew N Robertson <andrew.robertson@eecs.qmul.ac.uk> |
---|---|
date | Mon, 06 Jan 2014 18:10:15 +0000 |
parents | 7ec1ed0b2eb0 |
children |
line wrap: on
line source
/* * BeatWriter.h * BTrack * * Created by Andrew on 31/10/2013. * Copyright 2013 QMUL. All rights reserved. * */ /* * BeatWriter.h * MultipleAudioMathcher * * Created by Andrew on 25/04/2012. * Copyright 2012 QMUL. All rights reserved. * */ #ifndef BEAT_WRITER_H #define BEAT_WRITER_H // basic file operations for text file stuff #include <iostream> #include <fstream> using namespace std; class BeatWriter{ public: BeatWriter(); ~BeatWriter(); std::string filepath; ofstream outputFile; void openFile(); void openFile(std::string pathname); void closeFile(); void writeBeatTime(const double& beatTime); }; #endif