lilypond-user
[Top][All Lists]
Advanced

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

Re: Import, edit and export a Lilypond file using Python


From: Joachim Jablon
Subject: Re: Import, edit and export a Lilypond file using Python
Date: Sun, 06 Apr 2014 15:24:26 +0200
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:24.0) Gecko/20100101 Thunderbird/24.4.0

Le 06/04/2014 14:44, David Kastrup a écrit :

Manipulating LilyPond files is not trivial, and your description is not
at all useful for figuring out what "remove some parts" is even remotely
supposed to mean.

You might want to do your removal operation while still in MusicXML
using some standard XML manipulation tool, and only then convert to
LilyPond.


I'm sing in a choir, and I'd like to offer members the opportunity to download pdfs and mp3s of both the whole song we're working on, or only one (or more) voice. Each voice is a staff, so I'd like to be able to list the names of the staffs, and remove all but one.

So, yes, as you suggested, I should be able to :
1) Edit the XML using standard xml tools
2) make it a .ly file using the lilypond script
3) make it a beautiful partition using lilypond :)

I thought I would use a python lib that would manage the MusicXML part for me, but in the end, MusicXML is just XML, so I'll be able to do it myself.

Thank you !
--
Joachim Jablon



reply via email to

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