comparison NNLSChroma.cpp @ 89:7af5312e66f8 matthiasm-plugin

new boost N parameter in chordino, chord dictionary loaded on initialisation (not construction) of plugin
author Matthias Mauch <mail@matthiasmauch.net>
date Wed, 01 Dec 2010 23:08:55 +0900
parents e5c16976513d
children b56dde3417d4
comparison
equal deleted inserted replaced
88:fc28c50caace 89:7af5312e66f8
226 NNLSChroma::FeatureSet 226 NNLSChroma::FeatureSet
227 NNLSChroma::getRemainingFeatures() 227 NNLSChroma::getRemainingFeatures()
228 { 228 {
229 229
230 float consonancepattern[24] = {0,-1,-1,1,1,1,-1,1,1,1,-1,-1,1,-1,-1,1,1,1,-1,1,1,1,-1,-1}; 230 float consonancepattern[24] = {0,-1,-1,1,1,1,-1,1,1,1,-1,-1,1,-1,-1,1,1,1,-1,1,1,1,-1,-1};
231 for (int i = 0; i< 12; ++i) cerr << consonancepattern[i]<< endl; 231 // for (int i = 0; i< 12; ++i) cerr << consonancepattern[i]<< endl;
232 if (debug_on) cerr << "--> getRemainingFeatures" << endl; 232 if (debug_on) cerr << "--> getRemainingFeatures" << endl;
233 FeatureSet fsOut; 233 FeatureSet fsOut;
234 if (m_logSpectrum.size() == 0) return fsOut; 234 if (m_logSpectrum.size() == 0) return fsOut;
235 // 235 //
236 /** Calculate Tuning 236 /** Calculate Tuning