lilypond-user
[Top][All Lists]
Advanced

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

Re: Combine these segments for same score


From: Kieren MacMillan
Subject: Re: Combine these segments for same score
Date: Fri, 21 Dec 2018 17:19:41 -0500

Hi Reggie,

> I am intrigued. How does one use the tag system for concatenating sections
> of the same piece for easy working and compiling speed during edit phase?
> Please, can you provide some code showing how to use tags like this I have
> only seen tags used for differences in music of the score for parts and so
> on.
> 
> Tags for combining sections?!

%%%  SNIPPET BEGINS
\version "2.19.80"

tagged-stuff = {
  \tag #'A \repeat unfold 64 { a'4 }
  \tag #'B \repeat unfold 64 { b'4 }
  \tag #'C \repeat unfold 64 { c''4 }
  \tag #'D \repeat unfold 64 { d''4 }
}

\score {
  \keepWithTag #'A \tagged-stuff
}

\score {
  \keepWithTag #'B \tagged-stuff
}

\score {
  \keepWithTag #'(A C) \tagged-stuff
}
%%%  SNIPPET ENDS

As I suggested in another thread: in order to really use Lilypond to its full 
potential, you will need to figure out how to take relatively simple concepts 
(like \tag) and apply them in creative ways to your exact problem(s).

Hope this helps!
Kieren.
________________________________

Kieren MacMillan, composer
‣ website: www.kierenmacmillan.info
‣ email: address@hidden




reply via email to

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