Re: Drawing extenders for the full duration of a note

2018-10-23 Thread David Kastrup
David Kastrup writes: > You didn't bother specifying a \version statement, but the afterGrace > optional argument syntax is 2.19.47, so it seems safe to use 2.19.22 > parser/location non-syntax. > > \version "2.19.47" > > extendedNote = > #(define-music-function (note) (ly:music) > (make-relati

Re: Drawing extenders for the full duration of a note

2018-10-23 Thread David Kastrup
Lucas Werkmeister writes: > Hi Kieren and Graham, > > thank you both for your responses. Kieren, I really like the idea in > your suggestion – but it doesn’t seem to be a good fit for my situation: > while the tag solution is neat, in my case the ends of the extenders > align with different voice

Re: Drawing extenders for the full duration of a note

2018-10-23 Thread Lucas Werkmeister
On 23.10.18 19:11, Lucas Werkmeister wrote: > In the end, I went for a variation of Graham’s suggestion instead, > encapsulated in a music function: > > extendedNote = > #(define-music-function > (parser location note) > (ly:music?) >#{ > \afterGrace 15/16 $note { \once \hideNote

Re: Drawing extenders for the full duration of a note

2018-10-23 Thread Lucas Werkmeister
Hi Kieren and Graham, thank you both for your responses. Kieren, I really like the idea in your suggestion – but it doesn’t seem to be a good fit for my situation: while the tag solution is neat, in my case the ends of the extenders align with different voices at different times (there are four vo

Re: Drawing extenders for the full duration of a note

2018-10-20 Thread Kieren MacMillan
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 = {

Re: Drawing extenders for the full duration of a note

2018-10-20 Thread Kieren MacMillan
Hi Lucas, > I’d prefer a solution that doesn’t require eyeballing a close-enough value. Best Solution: Lilypond should have a switch/parameter to do what you’re asking (defaulting to ##f, to mimic current behaviour). Next Best Solution: Someone could build a Scheme engraver that searches across

Re: Drawing extenders for the full duration of a note

2018-10-20 Thread Vaughan McAlley
On Thu, 18 Oct 2018 at 08:01, Lucas Werkmeister 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 ext

Re: Drawing extenders for the full duration of a note

2018-10-19 Thread Graham King
Lucas, how about abusing a hidden grace note? I can't guarantee that this kludge will be robust against future changes... \version "2.19.82" << { \afterGrace 15/16 c'1 {\hideNotes c'16} R1 } \addlyrics { o __ } \relative c' { c8 d e f g f e d c4 g' c,2 } >> HTH, -- Graham On 17 Oct 2018, at

Drawing extenders for the full duration of a note

2018-10-17 Thread Lucas Werkmeister
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