> From: "Dirck Nagy" <[email protected]>
> To: "Lillypond Users Mailing List" <[email protected]>, "Dirck Nagy"
> <[email protected]>
> Sent: Saturday, November 15, 2025 7:48:53 AM
> Subject: Extract parts from a completed score

> Dear Lilypond

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

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

> 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.

> 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?

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

> Thanks in advance!

> Dirck

> \version "2.24.4"

> \header {
> % Remove default LilyPond tagline
> tagline = ##f
> }

> \paper {
> #(set-paper-size "letter")
> % Add space for instrument names
> short-indent = 10\mm
> }

> global = {
> \key c \major
> \time 4/4
> }

> flute = \relative c'' {
> \global
> % Music follows here.
> c,4 d e f g1 \bar"|."
> }

> bassoon = \relative c {
> \global
> % Music follows here.
> a4 b c d e1
> }

> flutePart = \new Staff \with {
> shortInstrumentName = "Fl."
> } \flute

> bassoonPart = \new Staff \with {
> shortInstrumentName = "Bn."
> } { \clef bass \bassoon }

> \score {
> <<
> \flutePart
> \bassoonPart

> \layout { }
> }

What I do is keep my music definitions in separate files from my score files. I 
would remove the \score block from this file. Then I would rename the file. If 
I have a piece called 'foo' I have all the music details in a file called 
'foo-defs.ly' and then I have score files for parts or full scores in a 
separate file and use '\include foo-defs.ly' near the top of the file. I don't 
think in terms of extracting parts. I think in terms of builiding score where a 
score may be anything from a single part to a full orcestral score. 

Hope this helps. 

David 

Reply via email to