Re: musicxml2ly in python

2022-02-25 Thread Jacques Menu
Hello Sebastian,This can also be done with a make file, but maybe that is not your use case. Doing so offers means to place the generated files in sub-folders and to remove them seamlessly. Also, only the .xml files modified or created since the last ‘make’ execution are converted.Attached is an ex

Re: musicxml2ly in python

2022-02-25 Thread Sebastian Adams
Hi Jean and Valentin, Thanks to both of you for your help. The find command in the terminal solves the problem perfectly, it iterates over a folder. So that's one great way to do this I think I see a way to do what Valentin suggested in musicxml2ly_conversion.py - it looks like it's just a matte

Re: musicxml2ly in python

2022-02-24 Thread Jean Abou Samra
Le 25/02/2022 à 00:27, Sebastian Adams a écrit : Does anybody out there have a Python script for converting a folder of musicxml (.xml) files into .ly or know how to do this? Welcome to the list. This question sounds like you want to learn about what your shell can do. Assuming UNIX (not Win

Re: musicxml2ly in python

2022-02-24 Thread Valentin Petzel
Hello Sebastian, musicxml2ly is not a part of python-ly, but a standalone python script included with lilypond using lilylib. It shouldn’t be too hard to figure out how to turn this into a module. The file does already come with a main method that is called on calling it as a script. Just copy

musicxml2ly in python

2022-02-24 Thread Sebastian Adams
Hi All, I spent a couple of hours trying to figure out whether I should be able to invoke the musicxml2ly command in python-ly and didn't get anywhere. Does anybody out there have a Python script for converting a folder of musicxml (.xml) files into .ly or know how to do this? Thanks in advance!