view src/BeatWriter.h @ 8:184a7c232049 tip

changed files since updating computer
author Venetian
date Thu, 14 Aug 2014 17:53:57 +0100
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