bug-lilypond
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

musicxml2ly does not honour the --nrp --no-rest-positions option


From: jostle
Subject: musicxml2ly does not honour the --nrp --no-rest-positions option
Date: Fri, 31 Jan 2020 20:54:38 +1100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.9.0

musicxml2ly --nrp  or --no-rest-positions still creates positioned "\rest" entries in the output file.

The following patch seems to fix the problem :


$ git diff
diff --git a/scripts/musicxml2ly.py b/scripts/musicxml2ly.py
index 28993850b5..9066dc84a9 100755
--- a/scripts/musicxml2ly.py
+++ b/scripts/musicxml2ly.py
@@ -3254,6 +3254,7 @@ def main():
         conversion_settings.convert_page_breaks = False
         conversion_settings.convert_page_margins = False
     conversion_settings.convert_stem_directions = options.convert_stem_directions +    conversion_settings.convert_rest_positions = options.convert_rest_positions

     # Allow the user to leave out the .xml or xml on the filename
     basefilename = args[0].decode('utf-8')


Have Fun,

jostle





reply via email to

[Prev in Thread] Current Thread [Next in Thread]