]> git.donarmstrong.com Git - lilypond.git/commitdiff
musicxml2ly.py -- change default for string tuning from integer to pitch
authorCarl Sorensen <c_sorensen@byu.edu>
Tue, 11 Jan 2011 20:33:31 +0000 (13:33 -0700)
committerCarl Sorensen <c_sorensen@byu.edu>
Tue, 11 Jan 2011 20:34:15 +0000 (13:34 -0700)
scripts/musicxml2ly.py

index a14119b32092157a989a31b930404eb5382e1ec5..8a1132cab99f8603e8d23184c300d2557aa1de8c 100644 (file)
@@ -358,7 +358,7 @@ def staff_attributes_to_string_tunings (mxl_attr):
     if staff_lines:
         lines = string.atoi (staff_lines.get_text ())
 
-    tunings = [0]*lines
+    tunings = [musicexp.Pitch()]*lines
     staff_tunings = details.get_named_children ('staff-tuning')
     for i in staff_tunings:
         p = musicexp.Pitch()