]> git.donarmstrong.com Git - lilypond.git/blobdiff - scripts/musicxml2ly.py
MusicXML: Always add 5 to maj for chordnames, otherwise e.g. maj5.11 won't work
[lilypond.git] / scripts / musicxml2ly.py
index 254bd377f2b8027a74bc9f08c387465930a60929..6346b5e419424e4936aa054a5d295ae71cc39e55 100644 (file)
@@ -1319,12 +1319,12 @@ def musicxml_chordpitch_to_lily (mxl_cpitch):
 
 chordkind_dict = {
     'major': '5',
-    'minor': 'm',
-    'augmented': 'aug',
-    'diminished': 'dim',
+    'minor': 'm5',
+    'augmented': 'aug5',
+    'diminished': 'dim5',
         # Sevenths:
     'dominant': '7',
-    'major-seventh': 'maj',
+    'major-seventh': 'maj7',
     'minor-seventh': 'm7',
     'diminished-seventh': 'dim7',
     'augmented-seventh': 'aug7',