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

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

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

Bugs mailing list
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



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