From: Han-Wen Nienhuys Date: Sat, 26 Aug 2006 10:22:56 +0000 (+0000) Subject: fix for importing X-Git-Tag: cvs/HEAD~118 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=0e22f3b3a0cacf7f76894f43b0a001038d91fdec;p=lilypond.git fix for importing minor key signatures from MusicXML. (Phillip Kirlin) --- diff --git a/ChangeLog b/ChangeLog index 40070ada15..01ede359e9 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2006-08-26 Han-Wen Nienhuys + + * scripts/musicxml2ly.py: fix for importing + minor key signatures from MusicXML. (Phillip Kirlin) + 2006-08-24 Phillip Kirlin * python/musicxml.py: diff --git a/THANKS b/THANKS index c17cb912cd..845778fcd8 100644 --- a/THANKS +++ b/THANKS @@ -78,6 +78,7 @@ Michael Meixner Michael Welsh Duggan Orm Finnendahl Paul Scott +Phillip Kirlin Quentin Spencer Rainer Typke Rick Hansen diff --git a/scripts/musicxml2ly.py b/scripts/musicxml2ly.py index f3fd9a7a06..4240b3aaae 100644 --- a/scripts/musicxml2ly.py +++ b/scripts/musicxml2ly.py @@ -110,7 +110,7 @@ def musicxml_key_to_lily (attributes): try: (n,a) = { 'major' : (0,0), - 'minor' : (6,0), + 'minor' : (5,0), }[mode] start_pitch.step = n start_pitch.alteration = a @@ -124,7 +124,6 @@ def musicxml_key_to_lily (attributes): fifth.step *= -1 fifth.normalize () - start_pitch = musicexp.Pitch() for x in range (fifths): start_pitch = start_pitch.transposed (fifth)