Comment #18 on issue 824 by [email protected]: Enhancement: anchors in the music stream
http://code.google.com/p/lilypond/issues/detail?id=824

The solution does not use exactly the syntax at the top, but

global = {
 \time 3/4 s4*3*10
 \time 4/4 \tag #'coda << s4*4*10 >>
 \bar "|." }

\anchoredStuff = { \tempo "Extremely slow" c'2 e' }

globalVariant = \pushToTag #'coda \anchoredStuff \global

The original \global remains unchanged, and the new \globalVariant is distinct music expression as if you typed
globalVariant = {
 \time 3/4 s4*3*2
 \time 4/4 << \anchoredStuff s4*4*2 >>
 \bar "|." }

Instead of the simultaneous <<..>> the \tag can be on a sequence {..} if you want \globalVariant to be longer in duration than \global by the length of \anchoredStuff

--
You received this message because this project is configured to send all issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

Reply via email to