Skip to content
Snippets Groups Projects
techno.h 429 B
Newer Older
William Fish's avatar
William Fish committed

#pragma once
#include "ofMain.h"
#include "ofxBeat.h"

#include "beatDetection.h"

class techno{


public:


	techno();
	void setup();
	void update(float,float);
	void draw();
	float controlVolume;


private:	

	int barWidth;
	int barHeight;
	vector<float> bars;
	vector<float> beats;
	int counter = 0;
	float prevBeat = 0;

	ofEasyCam cam;

	float scale = 0;
	float g = 1;
	float loops = 0;
};