]> git.donarmstrong.com Git - lilypond.git/commitdiff
fix for importing
authorHan-Wen Nienhuys <hanwen@xs4all.nl>
Sat, 26 Aug 2006 10:22:56 +0000 (10:22 +0000)
committerHan-Wen Nienhuys <hanwen@xs4all.nl>
Sat, 26 Aug 2006 10:22:56 +0000 (10:22 +0000)
minor key signatures from MusicXML.  (Phillip Kirlin)

ChangeLog
THANKS
scripts/musicxml2ly.py

index 40070ada15b2fa80a0bac3d3a05c4830f0b8aa40..01ede359e90eb07946ae2b4ecd59fc93ea216db0 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2006-08-26  Han-Wen Nienhuys  <hanwen@lilypond.org>
+
+       * scripts/musicxml2ly.py: fix for importing
+       minor key signatures from MusicXML.  (Phillip Kirlin)
+
 2006-08-24  Phillip Kirlin  <pkirlin@acm.org>
 
        * python/musicxml.py: 
diff --git a/THANKS b/THANKS
index c17cb912cdcd05c23e1f37914f919cb69a0d02a1..845778fcd831d7915d5bbde1fd3b20f11a38586a 100644 (file)
--- 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
index f3fd9a7a06131cb467fe4d95f274acdebb3f49af..4240b3aaaee0e77faa8ce0665ccd2794859df921 100644 (file)
@@ -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)