]> git.donarmstrong.com Git - lilypond.git/commitdiff
MusicXML: Always add 5 to maj for chordnames, otherwise e.g. maj5.11 won't work
authorReinhold Kainhofer <reinhold@kainhofer.com>
Sat, 12 Apr 2008 20:25:12 +0000 (22:25 +0200)
committerReinhold Kainhofer <reinhold@kainhofer.com>
Sat, 12 Apr 2008 20:25:12 +0000 (22:25 +0200)
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',