comparison Chordino.cpp @ 122:21181297da99 monophonicness

replacing unsigned/size_t iterators by int and casting others to int
author matthiasm
date Fri, 15 Apr 2011 11:31:37 +0000
parents 072327bbb1a2
children a17ff20fb897 2518ef286816
comparison
equal deleted inserted replaced
121:072327bbb1a2 122:21181297da99
493 currentChromas.values[i] /= chromanorm[2]; 493 currentChromas.values[i] /= chromanorm[2];
494 } 494 }
495 } 495 }
496 } 496 }
497 497
498 // if (*max_element(origchroma.begin(), origchroma.end()) == 0) { 498 if (*max_element(origchroma.begin(), origchroma.end()) == 0) {
499 // for (int i = 0; i < (int)chroma.size(); i++) { 499 for (int i = 0; i < (int)chroma.size(); i++) {
500 // chroma[i] = 1; 500 chroma[i] = 1;
501 // } 501 }
502 // } 502 }
503 503
504 chromaList.push_back(currentChromas); 504 chromaList.push_back(currentChromas);
505 505
506 // local chord estimation 506 // local chord estimation
507 vector<double> currentChordSalience; 507 vector<double> currentChordSalience;