#pragma once #include "ofMain.h" #include "ofxOpenCv.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); ofxCvColorImage buffer; ofFbo renderFBO; IplImage tmp; ofSoundStream soundStream; };