Mercurial > hg > silvet
diff 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 |
line wrap: on
line diff
--- a/src/Silvet.cpp Tue Jul 15 13:26:56 2014 +0100 +++ b/src/Silvet.cpp Tue Jul 15 13:28:25 2014 +0100 @@ -475,6 +475,7 @@ EM em(&pack, m_hqMode); em.setPitchSparsity(pack.pitchSparsity); + em.setSourceSparsity(pack.sourceSparsity); for (int j = 0; j < iterations; ++j) { em.iterate(filtered.at(i).data());