diff align/Align.cpp @ 777:87d33e79855b pitch-align

Rename TransformAligner -> MATCHAligner. It is still specific to MATCH, and at this point I think it's simpler to leave it that way and reduce confusion with the TransformDTWAligner which is much more generic.
author Chris Cannam
date Thu, 25 Jun 2020 17:43:10 +0100
parents 32e66fcc4cb7
children b651dc5ff555
line wrap: on
line diff
--- a/align/Align.cpp	Thu Jun 25 09:32:01 2020 +0100
+++ b/align/Align.cpp	Thu Jun 25 17:43:10 2020 +0100
@@ -15,7 +15,7 @@
 #include "Align.h"
 
 #include "LinearAligner.h"
-#include "TransformAligner.h"
+#include "MATCHAligner.h"
 #include "TransformDTWAligner.h"
 #include "ExternalProgramAligner.h"
 
@@ -137,10 +137,10 @@
             bool withTuningDifference =
                 (type == MATCHAlignmentWithPitchCompare);
             
-            aligner = make_shared<TransformAligner>(doc,
-                                                    reference,
-                                                    toAlign,
-                                                    withTuningDifference);
+            aligner = make_shared<MATCHAligner>(doc,
+                                                reference,
+                                                toAlign,
+                                                withTuningDifference);
             break;
         }
 
@@ -266,7 +266,7 @@
         return ExternalProgramAligner::isAvailable
             (getPreferredAlignmentProgram());
     } else {
-        return TransformAligner::isAvailable();
+        return MATCHAligner::isAvailable();
     }
 }