From 1b07e926df573c2331171d621cf8506ad09640ec Mon Sep 17 00:00:00 2001 From: Tim Redfern Date: Wed, 16 Nov 2022 23:17:17 +0000 Subject: add laser to audio project --- audioin/src/ofApp.cpp | 3 ++- audioin/src/ofApp.h | 17 +++++++++++++++-- 2 files changed, 17 insertions(+), 3 deletions(-) (limited to 'audioin/src') diff --git a/audioin/src/ofApp.cpp b/audioin/src/ofApp.cpp index 9160f65..e6b0e6d 100644 --- a/audioin/src/ofApp.cpp +++ b/audioin/src/ofApp.cpp @@ -55,6 +55,7 @@ void ofApp::draw(){ line.draw(); + laser.draw(line); ofPopMatrix(); @@ -81,7 +82,7 @@ void ofApp::audioIn(float * input, int blockSize, int nChannels){ void ofApp::printOscParams(){ - ofLog()<<(1000.0f/(SAMPLERATE/(ofGetWidth()/hScale)))<<"ms, scale: "< @@ -12,9 +13,19 @@ TEXT+SOUND oscilloscopes on letters what is the message -text from twitter +text from twitter/ SMS + +transformation of text/ oscilloscopes with animation/ audio animation/ gamepad + +colours (audio?) can we get a sillouette from kinect to laser + +kinect normal stuff + +The biggest thing missing: +A framework to combine these things + */ class Buffer{ public: @@ -28,7 +39,7 @@ public: } ~Buffer(){ if (data){ - //delete[] data; //why is this throwing an error + delete[] data; //why is this throwing an error } } void add(float * input, int num){ @@ -87,4 +98,6 @@ class ofApp : public ofBaseApp{ float vScale; float lineWidth; + + ofxHelios laser; }; -- cgit v1.2.3