Hi Lucas,

> Note that you could almost certainly use the tag system to build "extenders" 
> out of existing variables/notes, thus avoiding the need for a whole separate, 
> manually-created variable.

e.g.

%%%  SNIPPET BEGINS
\version "2.18.2"
\language"english"

upper = {
  c'1
  R1
}

lower = {
  \tag #'extenders { c'8-\tag #'extenders-only -( d' e' f' g' f' e' d'-\tag 
#'extenders-only -) }
  c'4 g' c'2
}

theLyrics = \lyricmode {
  a __
}

<<
  \new Staff <<
    \new Voice = "notes"
        \removeWithTag #'extenders-only \upper
    \new NullVoice = "extenders"
        \keepWithTag #'(extenders extenders-only) << \upper \lower >>
    \new Lyrics \lyricsto "extenders" \theLyrics
  >>
  \new Staff \removeWithTag #'extenders-only \lower
>>
%%%  SNIPPET ENDS

Cheers,
Kieren.
________________________________

Kieren MacMillan, composer
‣ website: www.kierenmacmillan.info
‣ email: [email protected]


_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to