view src/RecordedMultitrackAudio.h @ 1:852173ca8365

Added class to hold recorded mulitracks
author Andrew N Robertson <andrew.robertson@eecs.qmul.ac.uk>
date Tue, 31 Jan 2012 17:35:30 +0000
parents
children 179c09199b3c
line wrap: on
line source
/*
 *  RecordedMultitrackAudio.h
 *  MultipleAudioMathcher
 *
 *  Created by Andrew on 31/01/2012.
 *  Copyright 2012 QMUL. All rights reserved.
 *
 */


#ifndef RECORDED_MULTITRACK_AUDIO_H
#define RECORDED_MULTITRACK_AUDIO_H


#include "ofMain.h"
#include "ChromaOnset.h"
#include "LoadedAudioHolder.h"

/*
 struct AudioEvent {
	double millisTime;
	double frameTime;
	double pitch;
	int type;
};
*/

class RecordedMultitrackAudio{
	
	public:

	
	void loadTestAudio();
	void updatePosition();
	void drawTracks();
	void switchScreens();
	void togglePlay();
	
	void stop();
	void printInfo();
	void windowResized(const int& w, const int& h);
	void zoomIn();
	void zoomOut();
	
	
	//variables
	int numberOfAudioTracks;
	LoadedAudioHolder* loadedAudioPtr;
	LoadedAudioHolder loadedAudioFiles[5];
};
#endif