[PATCH] make musicxml2ly print \version statement

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

[PATCH] make musicxml2ly print \version statement

Erlend Aasland
Hi

Just a trivial patch to make musicxml2ly add the \version statement (that is always a Good Thing, right?) to the lily-file.


Regards,
  Erlend

_______________________________________________
lilypond-devel mailing list
[hidden email]
http://lists.gnu.org/mailman/listinfo/lilypond-devel

musicxml-print-version.patch (481 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: [PATCH] make musicxml2ly print \version statement

Erlend Aasland
Hmmm, wouldn't these two lines make more sense above the loop?
--- lilypond/lilypond/scripts/musicxml2ly.py	2005/12/07 13:22:52	1.7
+++ lilypond/lilypond/scripts/musicxml2ly.py 2005/12/14 11:54:58 1.8
@@ -440,6 +440,8 @@

progress ("Printing as .ly...")
for (k,v) in voices.items():
+ printer.print_verbatim ('%% converted from %s\n' % filename)
+ printer.dump_version ()
printer.dump ('%s = ' % k)
v.print_ly (printer)
printer.newline()

On 12/14/05, Erlend Aasland <[hidden email]> wrote:
Hi

Just a trivial patch to make musicxml2ly add the \version statement (that is always a Good Thing, right?) to the lily-file.


Regards,
  Erlend



_______________________________________________
lilypond-devel mailing list
[hidden email]
http://lists.gnu.org/mailman/listinfo/lilypond-devel