comparison src/Silvet.cpp @ 151:fc06b6f33021

double -> float in EM (to test)
author Chris Cannam
date Wed, 14 May 2014 19:38:36 +0100
parents d2bc51cc7f57
children 74f14efe032f
comparison
equal deleted inserted replaced
150:d2bc51cc7f57 151:fc06b6f33021
427 427
428 for (int j = 0; j < iterations; ++j) { 428 for (int j = 0; j < iterations; ++j) {
429 em.iterate(filtered.at(i).data()); 429 em.iterate(filtered.at(i).data());
430 } 430 }
431 431
432 const double *pitches = em.getPitchDistribution(); 432 const float *pitches = em.getPitchDistribution();
433 433
434 //!!! note: check the CQ output (and most immediately, the sum values here) against the MATLAB implementation 434 //!!! note: check the CQ output (and most immediately, the sum values here) against the MATLAB implementation
435 435
436 for (int j = 0; j < processingNotes; ++j) { 436 for (int j = 0; j < processingNotes; ++j) {
437 pitchMatrix[i][j] = pitches[j] * sum; 437 pitchMatrix[i][j] = pitches[j] * sum;