summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSwiftb0y <12380386+Swiftb0y@users.noreply.github.com>2021-04-03 22:48:18 +0200
committerSwiftb0y <12380386+Swiftb0y@users.noreply.github.com>2021-04-03 22:48:18 +0200
commitda8e565182880eb72ea2e3d717f8a95d7d3cbf2a (patch)
tree4ec348a1b294f2a484bf33031f92b608e6438e87
parentf9bf0aa075cc859651b12e8d38b1ccf3fa837d43 (diff)
AnalyzerKeyFinder: fix invalid e-major key
Fixes that tracks previously detected as e-major by the KeyFinder analyzer were translated into having an invalid key.
-rw-r--r--src/analyzer/plugins/analyzerkeyfinder.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/analyzer/plugins/analyzerkeyfinder.cpp b/src/analyzer/plugins/analyzerkeyfinder.cpp
index f837e02266..97b4ee57ba 100644
--- a/src/analyzer/plugins/analyzerkeyfinder.cpp
+++ b/src/analyzer/plugins/analyzerkeyfinder.cpp
@@ -43,6 +43,8 @@ ChromaticKey chromaticKeyFromKeyFinderKeyT(KeyFinder::key_t key) {
return ChromaticKey::E_FLAT_MAJOR;
case (KeyFinder::E_FLAT_MINOR):
return ChromaticKey::E_FLAT_MINOR;
+ case (KeyFinder::E_MAJOR):
+ return ChromaticKey::E_MAJOR;
case (KeyFinder::E_MINOR):
return ChromaticKey::E_MINOR;
case (KeyFinder::F_MAJOR):