Mercurial > hg > precise-onset-detection
view src/BeatWriter.h @ 6:eb29c6b6dff8
added pointer version of visualiser
author | Andrew N Robertson <andrew.robertson@eecs.qmul.ac.uk> |
---|---|
date | Sun, 19 Jan 2014 23:07:13 +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