diff options
| author | Comment <tim@gray.(none)> | 2013-06-13 00:10:35 +0100 |
|---|---|---|
| committer | Comment <tim@gray.(none)> | 2013-06-13 00:10:35 +0100 |
| commit | 71582d96b78a52747c65c1aaf89d00e0a7d408a0 (patch) | |
| tree | a48713749cf26f476f343b69641d187aebd3ad67 /vamphost/src | |
| parent | 08bd1788cc640f4f6595152cd27f1922bea7d76c (diff) | |
investigating sound sync
Diffstat (limited to 'vamphost/src')
| -rw-r--r-- | vamphost/src/testApp.cpp | 7 | ||||
| -rw-r--r-- | vamphost/src/testApp.h | 1 |
2 files changed, 5 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); } diff --git a/vamphost/src/testApp.h b/vamphost/src/testApp.h index 112f697..8c94b31 100644 --- a/vamphost/src/testApp.h +++ b/vamphost/src/testApp.h @@ -37,6 +37,7 @@ public: Vamphost vamphost; int whichplugin; + }; |
