Newer
Older
#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;
};