summaryrefslogtreecommitdiff
path: root/vamphost/src
diff options
context:
space:
mode:
authorTim Redfern <tim@eclectronics.org>2013-05-26 15:24:53 +0100
committerTim Redfern <tim@eclectronics.org>2013-05-26 15:24:53 +0100
commitbfabff566fb0a13b7564f776831535cfedf7df8c (patch)
tree1eddf5db57ff201d80d9fef093bbbb30f438bea3 /vamphost/src
parent3440f88e4f916c5d26c63960377df38e5cfa988c (diff)
just crashes
Diffstat (limited to 'vamphost/src')
-rw-r--r--vamphost/src/testApp.cpp10
1 files changed, 3 insertions, 7 deletions
diff --git a/vamphost/src/testApp.cpp b/vamphost/src/testApp.cpp
index fabf712..d269c11 100644
--- a/vamphost/src/testApp.cpp
+++ b/vamphost/src/testApp.cpp
@@ -26,16 +26,12 @@ void testApp::setup() {
//string id="qm-tempotracker";
//string id="qm-barbeattracker";
- ofxXmlSettings xml;
- if(xml.loadFile("settings.xml") ){
- string graph_dir=xml.getAttribute("Rotor","graph_dir","",0);
- }
- else cerr<<"Rotor: settings.xml not found, using defaults"<<endl;
+
string soname="vamp-example-plugins.so";
string id="percussiononsets";
- whichplugin=0;
+ whichplugin=5;
int bufferSize = vamphost.init(whichplugin,channels,rate,outputNo);
@@ -166,7 +162,7 @@ ofSetColor(225);
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 +=vamphost.key;
+ reportString +="\n"+vamphost.key;
ofDrawBitmapString(reportString, 32, 589);
}