[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Drawing extenders for the full duration of a note
From: |
Kieren MacMillan |
Subject: |
Re: Drawing extenders for the full duration of a note |
Date: |
Sat, 20 Oct 2018 12:23:19 -0400 |
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: address@hidden