Attached is my fix for bug #729 and a convert-ly rule. http://code.google.com/p/lilypond/issues/detail?id=729
If I can keep finding bugs that simple, I'll be sending patches weekly! Andrew
From 2311c16f64a21247017cd0dafca5a177f676e506 Mon Sep 17 00:00:00 2001 From: Andrew Hawryluk <ahawry...@gmail.com> Date: Fri, 27 Feb 2009 09:15:19 -0700 Subject: [PATCH] MIDI 47: orchestral strings -> orchestral harp --- python/convertrules.py | 5 ++++- scm/midi.scm | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/python/convertrules.py b/python/convertrules.py index 574e64b..d27be1f 100644 --- a/python/convertrules.py +++ b/python/convertrules.py @@ -2874,14 +2874,17 @@ def conv(str): raise FatalConversionError () return str -...@rule ((2, 13, 0), _ ("keySignature property not reversed any more")) +...@rule ((2, 13, 0), _ ("keySignature property not reversed any more,\n\ +MIDI instrument #47 orchestral strings -> orchestral harp")) def conv(str): if re.search(r'\set Staff.keySignature', str): stderr_write ("\n") stderr_write (NOT_SMART % _("The alist for Staff.keySignature is no \ longer in reversed order.\n")) + str = str.replace('#"orchestral strings"', '#"orchestral harp"') return str + # Guidelines to write rules (please keep this at the end of this file) # # - keep at most one rule per version; if several conversions should be done, diff --git a/scm/midi.scm b/scm/midi.scm index cb0c0e6..5e956d1 100644 --- a/scm/midi.scm +++ b/scm/midi.scm @@ -122,7 +122,7 @@ ("contrabass" . ,(- 44 1)) ("tremolo strings" . ,(- 45 1)) ("pizzicato strings" . ,(- 46 1)) - ("orchestral strings" . ,(- 47 1)) + ("orchestral harp" . ,(- 47 1)) ("timpani" . ,(- 48 1)) ; (49-56 ensemble) -- 1.5.6.3
_______________________________________________ bug-lilypond mailing list bug-lilypond@gnu.org http://lists.gnu.org/mailman/listinfo/bug-lilypond