Mercurial > hg > svapp
comparison framework/Document.cpp @ 771:1d6cca5a5621 pitch-align
Allow use of proper sparse models (i.e. retaining event time info) in alignment; use this to switch to note alignment, which is what we have most recently been doing in the external program. Not currently producing correct results, though
author | Chris Cannam |
---|---|
date | Fri, 29 May 2020 17:39:02 +0100 |
parents | 6429a164b7e1 |
children | 83a7b10b7415 |
comparison
equal
deleted
inserted
replaced
770:486add472c3f | 771:1d6cca5a5621 |
---|---|
1141 return; | 1141 return; |
1142 } | 1142 } |
1143 | 1143 |
1144 SVDEBUG << "Document::alignModel: aligning..." << endl; | 1144 SVDEBUG << "Document::alignModel: aligning..." << endl; |
1145 if (!rm->getAlignmentReference().isNone()) { | 1145 if (!rm->getAlignmentReference().isNone()) { |
1146 SVDEBUG << "(Note: model " << rm << " is currently aligned to model " | 1146 SVDEBUG << "(Note: model " << modelId |
1147 << " is currently aligned to model " | |
1147 << rm->getAlignmentReference() << "; this will replace that)" | 1148 << rm->getAlignmentReference() << "; this will replace that)" |
1148 << endl; | 1149 << endl; |
1149 } | 1150 } |
1150 | 1151 |
1151 m_align->scheduleAlignment(this, m_mainModel, modelId); | 1152 m_align->scheduleAlignment(this, m_mainModel, modelId); |