diff options
Diffstat (limited to 'ofxMaxim/ofxMaximExample_0.8.4_OSX/src/ofApp.h')
| -rw-r--r-- | ofxMaxim/ofxMaximExample_0.8.4_OSX/src/ofApp.h | 51 |
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; + + +}; + + |
