comparison data/model/AlignmentModel.cpp @ 1774:f19711ab7074

Optionally record relative pitch
author Chris Cannam
date Thu, 15 Aug 2019 18:18:03 +0100
parents 9945ad04c174
children edc2d0e635dc
comparison
equal deleted inserted replaced
1773:fadd9f8aaa27 1774:f19711ab7074
26 m_aligned(aligned), 26 m_aligned(aligned),
27 m_pathSource(pathSource), 27 m_pathSource(pathSource),
28 m_path(nullptr), 28 m_path(nullptr),
29 m_reversePath(nullptr), 29 m_reversePath(nullptr),
30 m_pathBegun(false), 30 m_pathBegun(false),
31 m_pathComplete(false) 31 m_pathComplete(false),
32 m_relativePitch(0)
32 { 33 {
33 setPathFrom(pathSource); 34 setPathFrom(pathSource);
34 35
35 if (m_reference == m_aligned) { 36 if (m_reference == m_aligned) {
36 // Trivial alignment, e.g. of main model to itself, which we 37 // Trivial alignment, e.g. of main model to itself, which we