Mercurial > hg > svapp
comparison framework/Align.cpp @ 678:16c1077da62c
Switch off fine-tuning for alignment, it shouldn't be necessary (I think?) and is quite a bit slower
author | Chris Cannam |
---|---|
date | Thu, 13 Jun 2019 11:32:59 +0100 |
parents | 4d26b66931f8 |
children | c7406ebcd51c |
comparison
equal
deleted
inserted
replaced
677:4d26b66931f8 | 678:16c1077da62c |
---|---|
170 TransformFactory *tf = TransformFactory::getInstance(); | 170 TransformFactory *tf = TransformFactory::getInstance(); |
171 | 171 |
172 Transform transform = tf->getDefaultTransformFor | 172 Transform transform = tf->getDefaultTransformFor |
173 (tdId, aggregateModel->getSampleRate()); | 173 (tdId, aggregateModel->getSampleRate()); |
174 | 174 |
175 transform.setParameter("maxduration", 50); | 175 transform.setParameter("maxduration", 60); |
176 transform.setParameter("maxrange", 5); | 176 transform.setParameter("maxrange", 6); |
177 transform.setParameter("finetuning", false); | |
177 | 178 |
178 SVDEBUG << "Align::alignModel: Tuning difference transform step size " << transform.getStepSize() << ", block size " << transform.getBlockSize() << endl; | 179 SVDEBUG << "Align::alignModel: Tuning difference transform step size " << transform.getStepSize() << ", block size " << transform.getBlockSize() << endl; |
179 | 180 |
180 ModelTransformerFactory *mtf = ModelTransformerFactory::getInstance(); | 181 ModelTransformerFactory *mtf = ModelTransformerFactory::getInstance(); |
181 | 182 |