From 0ef3c3238f39e944fa999768942c99a96b70b860 Mon Sep 17 00:00:00 2001 From: mick Date: Mon, 9 Feb 2015 10:40:24 +0000 Subject: added new example for of 0.8.4 --- ofxMaxim/ofxMaximExample_0.8.4_OSX/src/ofApp.h | 51 ++++++++++++++++++++++++++ 1 file changed, 51 insertions(+) create mode 100644 ofxMaxim/ofxMaximExample_0.8.4_OSX/src/ofApp.h (limited to 'ofxMaxim/ofxMaximExample_0.8.4_OSX/src/ofApp.h') 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; + + +}; + + -- cgit v1.3