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: Urs Liska
Subject: Re: Import, edit and export a Lilypond file using Python
Date: Sun, 06 Apr 2014 15:56:09 +0200
User-agent: K-@ Mail for Android

It's not fully clear what you mean yet, but it sounds that you might be _much_ better off when you simply create different .ly files with "scores" just displaying the voices you want.

Urs

Joachim Jablon <address@hidden> schrieb am 06.04.2014:
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 !

-- Diese Nachricht wurde mit K-@ Mail gesendet.
reply via email to

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