aboutsummaryrefslogtreecommitdiffstats
path: root/ofxMaxim/ofxMaximExample_0.8.4_OSX/src/ofApp.h
diff options
context:
space:
mode:
authormick <mickgrierson@gmail.com>2015-02-09 10:40:24 +0000
committermick <mickgrierson@gmail.com>2015-02-09 10:40:24 +0000
commit0ef3c3238f39e944fa999768942c99a96b70b860 (patch)
tree73c9896f8c4c5f24282c55b50d263c7ecbfdf253 /ofxMaxim/ofxMaximExample_0.8.4_OSX/src/ofApp.h
parent818e004b46ec4b6b8d4f80eff32e3562c252bd89 (diff)
added new example for of 0.8.4
Diffstat (limited to 'ofxMaxim/ofxMaximExample_0.8.4_OSX/src/ofApp.h')
-rw-r--r--ofxMaxim/ofxMaximExample_0.8.4_OSX/src/ofApp.h51
1 files changed, 51 insertions, 0 deletions
diff --git a/ofxMaxim/ofxMaximExample_0.8.4_OSX/src/ofApp.h b/ofxMaxim/ofxMaximExample_0.8.4_OSX/src/ofApp.h
new file mode 100644
index 0000000..0c1c88a
--- /dev/null
+++ b/ofxMaxim/ofxMaximExample_0.8.4_OSX/src/ofApp.h
@@ -0,0 +1,51 @@
+#pragma once
+
+#include "ofMain.h"
+#include "ofxMaxim.h"
+
+class ofApp : public ofBaseApp{
+
+ public:
+ void setup();
+ void update();
+ void draw();
+
+ void keyPressed(int key);
+ void keyReleased(int key);
+ void mouseMoved(int x, int y);
+ 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 dragEvent(ofDragInfo dragInfo);
+ void gotMessage(ofMessage msg);
+
+
+ void audioOut(float * output, int bufferSize, int nChannels);
+ void audioIn(float * input, int bufferSize, int nChannels);
+
+ int bufferSize;
+ int sampleRate;
+
+
+ /* stick you maximilian declarations below
+
+ For information on how maximilian works, take a look at the example code at
+
+ http://www.maximilian.strangeloop.co.uk
+
+ under 'Tutorials'.
+
+
+ */
+
+
+ ofxMaxiOsc myOsc1;
+ ofxMaxiSample sample1;
+ double patch1,sample,outputs1[2];
+ ofxMaxiMix channel1;
+
+
+};
+
+