summaryrefslogtreecommitdiff
path: root/vamphost/src/testApp.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'vamphost/src/testApp.cpp')
-rw-r--r--vamphost/src/testApp.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/vamphost/src/testApp.cpp b/vamphost/src/testApp.cpp
index ebd6c1f..4ecc049 100644
--- a/vamphost/src/testApp.cpp
+++ b/vamphost/src/testApp.cpp
@@ -46,15 +46,13 @@ void testApp::setup() {
scaledVol = 0.0;
//if you want to set a different device id
- //soundStream.setDeviceID(0); //bear in mind the device id corresponds to all audio devices, including input-only and output-only devices.
+ soundStream.setDeviceID(4); //bear in mind the device id corresponds to all audio devices, including input-only and output-only devices.
soundStream.setup(this, 0, channels, rate, bufferSize, 4);
ofSetFrameRate(25);
-
-
}
@@ -163,6 +161,9 @@ ofSetColor(225);
string reportString = "buffers received: "+ofToString(bufferCounter)+"\ndraw routines called: "+ofToString(drawCounter)+"\nticks: " + ofToString(soundStream.getTickCount());
reportString +="\nfeatures found: "+ofToString(vamphost.numFeat)+" average signal: "+ofToString(vamphost.avg)+" samples: "+ofToString(vamphost.num);
reportString +="\n"+vamphost.key;
+ for (int i=0;i<vamphost.feat.size();i++) {
+ reportString +="\nfeature channels: "+ofToString(vamphost.feat[i].size());
+ }
ofDrawBitmapString(reportString, 32, 589);
}