Dirck Nagy:
> Is there a (relatively) simple way to extract and print individual
> parts from a completed score?

Yes, just put the music for each instrument in separate variables, and
reference them ad lib.

> I couldn't find any tutorials. A "start to finish" list of instructions
> would be nice; does one exist?

 Don't know, but just ask the list.

 Here is a full example with just one section:
https://aspodata.se/git/musik/Heinrich_Sch%c3%bctz/Quemadmodum_desiderat_cervus/
https://aspodata.se/choir/osthammar/amicis/2026-01-25/Quemadmodum_01_modern_clef.pdf
 and here one with multiple sections:
https://aspodata.se/git/musik/Emanuele_Astorga/stabat_mater/
https://aspodata.se/choir/osthammar/motett/Emanuele_Astorga/

> I searched the documentation and this message board, and it seems that
> most people enter the notes in separate files for each instrument, and
> then combine them into a complete score.

The tools at hand is:
\include
 helps you use a chunk of lilypond code in multiple places
variables
 help you to use a smaller chunk of lilypond code in multiple 
 places.

Only include requires separate files, so if you want to use just a 
single file you are restricted to variables.
 I like include since it helps me having the files a little smaller,
but except for the file size there should be no problem replacing
an \include with that files content.
 The downside of using include is that there might be a little too
many files in the end making it a little difficult where to start,
which almost always with *.ly, with in my case the non score
things in *.ily.

Also it might help to make some small programs to generate some initial
skeleton of the files you will be using or use a templete to copy.

> I'm trying to do the opposite: the score is already complete.
> 
> Here is a simple example created using Frescobaldi's score wizard.
> How could I extract, and then edit and print the flute part?

Put the flute part music in a variable, then you can use it multiple time
without entering the actual notes, simly use the varible, which you
already have done.

If you want to edit the flute part, it depend on what kind of editing
you want to do. If you want to add things. The easiest way would be to
do << \flute { the_things_you_want_to_add } >>
The things you can easily add are \key, \time, \break, \pageBreak, 
\mark etc. if you don't have them in the original variable.

To have a separate flute part, just add an additional \score or 
\bookpart or similar. Look at the third example at:
https://lilypond.org/doc/v2.24/Documentation/notation/displaying-rhythms#polymetric-notation
 or the last example at:
https://lilypond.org/doc/v2.24/Documentation/notation/long-repeats#alternative-endings

https://lilypond.org/doc/v2.24/Documentation/notation/multiple-scores-in-a-book
https://lilypond.org/doc/v2.24/Documentation/notation/multiple-output-files-from-one-input-file

> FYI, I have been using Lilypond for years, but i am a composer, and
> not especially computer savvy.

It is great that you are a composer, but you are at a slight 
disadvantage not beeing savvy with programming languages.

Regards,
/Karl Hammar



Reply via email to