comparison src/Silvet.cpp @ 213:5bde003a43a9

Make source sparsity configurable in instrument pack as well as pitch sparsity; make both equal to 1 for piano templates
author Chris Cannam
date Tue, 15 Jul 2014 13:28:25 +0100
parents ec19a15bee82
children 5ba328aae5be
comparison
equal deleted inserted replaced
212:8f48b65a6ef2 213:5bde003a43a9
473 present[i] = true; 473 present[i] = true;
474 474
475 EM em(&pack, m_hqMode); 475 EM em(&pack, m_hqMode);
476 476
477 em.setPitchSparsity(pack.pitchSparsity); 477 em.setPitchSparsity(pack.pitchSparsity);
478 em.setSourceSparsity(pack.sourceSparsity);
478 479
479 for (int j = 0; j < iterations; ++j) { 480 for (int j = 0; j < iterations; ++j) {
480 em.iterate(filtered.at(i).data()); 481 em.iterate(filtered.at(i).data());
481 } 482 }
482 483