lilypond-user
[Top][All Lists]
Advanced

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

Re: Drawing extenders for the full duration of a note


From: Vaughan McAlley
Subject: Re: Drawing extenders for the full duration of a note
Date: Sat, 20 Oct 2018 23:29:43 +1100

On Thu, 18 Oct 2018 at 08:01, Lucas Werkmeister <address@hidden> wrote:
Hi everyone,

I’m transcribing an old choral score for LilyPond (full source at [1]),
and while I’ve been mostly successful so far, one thing I haven’t
figured out yet is the extenders. In the original score, several notes
have extenders in the lyrics, to indicate the duration of the note
relative to the other voices, and those extenders span the full duration
of the note (see [2] for an example). This short snippet can be used to
test the behavior:

<<
  { c'1 r } \addlyrics { o __ }
  \relative c' { c8 d e f g f e d c4 g' c,2 }
>>

The second voice ensures a certain minimal width for the whole bar, and
I would like the extender in the lyrics for the first voice to span this
whole width, as that’s how long the note is. I can get close to this by
manually tweaking the LyricExtender’s minimum-length (if there’s no rest
after the extender, even setting it to +inf.0 works, it automatically
terminates at the next lyrics), but I’d prefer a solution that doesn’t
require eyeballing a close-enough value.

Cheers,
Lucas

[1]: https://github.com/lucaswerkmeister/il-est-bel-et-bon
[2]: https://i.imgur.com/9GQ0cJH.png

_______________________________________________
lilypond-user mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/lilypond-user

And here's some more kludge, but it looks good, and MIDI should work. Replace

e1. r2

with

      \once \hide Tie e1.*2/3 ~
      \once \hide NoteHead
      \once \hide Stem
      \once \hide Tie
      e4.~ |
      \once \hide NoteHead
      \once \hide Stem e8 r2 |

Vaughan


reply via email to

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