Mercurial > hg > silvet
comparison src/Silvet.cpp @ 39:2b254fc68e81
Fix typo in pitch activation output
author | Chris Cannam |
---|---|
date | Sat, 05 Apr 2014 08:41:55 +0100 |
parents | 5164bccf3064 |
children | 303c06efa8d2 |
comparison
equal
deleted
inserted
replaced
38:5164bccf3064 | 39:2b254fc68e81 |
---|---|
347 } | 347 } |
348 | 348 |
349 vector<double> pitches = em.getPitchDistribution(); | 349 vector<double> pitches = em.getPitchDistribution(); |
350 Feature f; | 350 Feature f; |
351 for (int j = 0; j < (int)pitches.size(); ++j) { | 351 for (int j = 0; j < (int)pitches.size(); ++j) { |
352 f.values.push_back(float(pitches[i])); | 352 f.values.push_back(float(pitches[j])); |
353 } | 353 } |
354 fs[m_pitchOutputNo].push_back(f); | 354 fs[m_pitchOutputNo].push_back(f); |
355 | 355 |
356 //!!! now do something with the results from em! | 356 //!!! now do something with the results from em! |
357 em.report(); | 357 em.report(); |