[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: musicxml2ly in python
From: |
Valentin Petzel |
Subject: |
Re: musicxml2ly in python |
Date: |
Fri, 25 Feb 2022 03:24:51 +0100 |
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 this and modify it to take options as arguments instead of
from CLI and you should be fine.
Valentin
Am Freitag, 25. Februar 2022, 00:27:24 CET schrieb 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! (and nice to have joined the list!)
>
> Sebastian
signature.asc
Description: This is a digitally signed message part.