view ofxPreciseOnsetDetectorOffline/PreciseBassOnsetDetector.h @ 8:184a7c232049 tip

changed files since updating computer
author Venetian
date Thu, 14 Aug 2014 17:53:57 +0100
parents b1c13e8bec26
children
line wrap: on
line source
/*
 *  PreciseBassOnsetDetector.h
 *  BasslinePrediction
 *
 *  Created by Andrew N Robertson on 13/04/2014.
 *  Copyright 2014 QMUL. All rights reserved.
 *
 */

#ifndef PRECISE_BASS_ONSET_DETECTOR
#define PRECISE_BASS_ONSET_DETECTOR

//#include "PreciseOnsetDetector.h"
//#include "PreciseBassOnsetDetectorOffline.h"

//#include "PreciseOnsetDetectorOffline.h"
#include "PreciseOnsetVisualiser.h"

#include "ofxWindowRegion.h"
#include "ofxPlotFunction.h"

#include "PreciseBassOnsetDetectorOffline.h"


class PreciseBassOnsetDetector{
public:
	
	PreciseBassOnsetDetector();
	~PreciseBassOnsetDetector();
	
	void loadNewFile(std::string filename);
	
	void update();
	void draw();
	
	void keyPressed(int key);
	void mousePressed(int x, int y, int button);
	
	bool getFilenameFromDialogBox(std::string* fileNameToSave);
	
	PreciseBassOnsetDetectorOffline pod;
	PreciseOnsetVisualiser pov;	
};

#endif