Mercurial > hg > midi-score-follower
comparison src/BayesianArrayStructure.cpp @ 21:11e3119ce6b4
working well. Checking in before creating diagrams
author | Andrew N Robertson <andrew.robertson@eecs.qmul.ac.uk> |
---|---|
date | Sun, 27 Nov 2011 21:56:19 +0000 |
parents | 2e17f0fdeaef |
children | 9860abc92a30 |
comparison
equal
deleted
inserted
replaced
20:7bb9ab04ee89 | 21:11e3119ce6b4 |
---|---|
521 ofSetColor(0,0,100); | 521 ofSetColor(0,0,100); |
522 string relativeString = " offset "+ofToString(prior.offset, 1);//starttimes("+ofToString(startTimeMillis)+", "+ofToString(endTimeMillis); | 522 string relativeString = " offset "+ofToString(prior.offset, 1);//starttimes("+ofToString(startTimeMillis)+", "+ofToString(endTimeMillis); |
523 relativeString += ": index "+ofToString(startArrayIndex)+" , "+ofToString(endArrayIndex)+" ["; | 523 relativeString += ": index "+ofToString(startArrayIndex)+" , "+ofToString(endArrayIndex)+" ["; |
524 // relativeString += ofToString(prior.getIndexInRealTerms(endArrayIndex), 3)+"] (sc-width:"+ofToString(screenWidthMillis, 1)+") "; | 524 // relativeString += ofToString(prior.getIndexInRealTerms(endArrayIndex), 3)+"] (sc-width:"+ofToString(screenWidthMillis, 1)+") "; |
525 relativeString += " mapped to screen "+ofToString(startScreenPosition)+" , "+ofToString(endScreenPosition); | 525 relativeString += " mapped to screen "+ofToString(startScreenPosition)+" , "+ofToString(endScreenPosition); |
526 ofDrawBitmapString(relativeString, 100, 180); | 526 // ofDrawBitmapString(relativeString, 100, 180); |
527 | 527 |
528 ofSetColor(255, 255, 0); | 528 ofSetColor(255, 255, 0); |
529 likelihood.drawConstrainedVector(startArrayIndex, endArrayIndex, startScreenPosition, endScreenPosition); | 529 likelihood.drawConstrainedVector(startArrayIndex, endArrayIndex, startScreenPosition, endScreenPosition); |
530 | 530 |
531 ofSetColor(0,0,200); | 531 ofSetColor(0,0,200); |