From 493d6151ee284b5cfa136b88793498d7d9a59051 Mon Sep 17 00:00:00 2001 From: Tim Redfern Date: Sun, 18 Dec 2022 23:30:14 +0000 Subject: standalone of10 version --- glitcher2/src/ofApp.h | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 glitcher2/src/ofApp.h (limited to 'glitcher2/src/ofApp.h') diff --git a/glitcher2/src/ofApp.h b/glitcher2/src/ofApp.h new file mode 100644 index 0000000..beaceaf --- /dev/null +++ b/glitcher2/src/ofApp.h @@ -0,0 +1,31 @@ +#pragma once + +#include "ofMain.h" +#include "ofxOpenCv.h" +#include "audioGlitcher.h" + + +class ofApp : public ofBaseApp { +public: + + void setup(); + void update(); + void draw(); + void exit(); + + void keyPressed(int key); + void mouseDragged(int x, int y, int button); + void mousePressed(int x, int y, int button); + void mouseReleased(int x, int y, int button); + void windowResized(int w, int h); + + void audioIn(float * input, int bufferSize, int nChannels); + + audioGlitcher glitch; + + ofSoundStream soundStream; + vector samples; + + int frame; + +}; -- cgit v1.2.3