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
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user