Hi all,

I'm currently using this workaround to lengthen the extender lines for a
final syllable that only has one note, but I've run into the problem that
any dots on invisible notes (to extend their length) remain visible. Is
there a way to hide the dot as well as the notehead?

Regards,

Brent.

On Tue, 6 Feb 2024 at 22:33, Jakob Pedersen <[email protected]> wrote:

> Thank you very much for this!
>
> I've never fiddled with \scaleDuration but that's an easy hack, and I
> only need to use it 10-12 places in the score in total, so not a lot of
> work :)
>
> Best wishes,
> Jakob
>
> On 05.02.2024 23.56, Hans Aikema wrote:
>
>
>
> On 5 Feb 2024, at 20:29, Jakob Pedersen via LilyPond user discussion
> <[email protected]> <[email protected]> wrote:
>
> Hello all,
>
> I've been trying to replicate a score from CPDL.
>
> <original.png>
>
> The font is terrible, the notes are weirdly shaped. I really don't like
> it. I wonder what software made it. Also, why two hyphens in that short a
> space?
>
> (I'm wondering which software was used to make it in the first place.)
>
> I've produced this so far:
>
> <mwe.png>
>
> I've used a variable with \set Staff.measureBarType = "-span|" to do the
> *mensurstriche* at appropriate places.
>
> MWE is at the bottom of this email.
>
> I wonder about the lyrics extenders, though. My questions are:
>
> 1) I assume extending an extender already there is fairly easy, although I
> don't know how. I tried the lyrics.extender property, but I'm not sure how
> to use it correctly. I was thinking it might be possible to have all three
> lyrics extender lines end at the same point near the bar line like in the
> original.
> 2) Is it possible to add a lyrics extender line to lyrics like the O
> attached to the breve in the top line, even if it isn't actually a melisma?
> And if so, is it possible to force to extend as far as the other three
> lyrics extender lines re my first question.
>
>
> Jakob,
>
> You can trick lilypond into extending the extender to (almost)
> end-of-measure by adding a (hidden) extra note towards the end of the
> measure. Using \scaleDurations you make  that the total length of the
> shown+hidden music still fit within the measure.
> You’ll need to add the additional extender in the lyrics as well, as the
> hidden note is still accounted for in the note-to-lyric binding:
>
> \version "2.25.12"
>
> global = {
>   \key d \major
>   \time 2/2
> }
>
> BarOn = { \set Staff.measureBarType = "-span|" }
> BarOff = { \set Staff.measureBarType = "|" }
>
> \score { <<
>   \new StaffGroup <<
>     \new Staff \relative c' { \global \BarOn \scaleDurations 2047/2048 
> b'\breve \hide \scaleDurations 1/2048 b\breve \BarOff cis1 | b }
>     \addlyrics { O __ _ sa -- crum, }
>
>     \new Staff \relative c' { \global \BarOn e2 g2. fis8 e \BarOff fis4 
> \scaleDurations 255/256 g \hide \scaleDurations 1/1024 g1 | a1 g }
>     \addlyrics { O __ _ _ _ _ _ _ sa -- crum, }
>
>     \new Staff \relative c' { \global \clef "treble_8" \BarOn b2 e2. d8 
> \BarOff cis \scaleDurations 511/512 d2 \hide \scaleDurations 1/1024 d1 | e1 e 
> }
>     \addlyrics { O __ _ _ _ _ _ sa -- crum, }
>
>     \new Staff \relative c { \global \clef bass e1 \scaleDurations 1023/1024  
> b' \hide \scaleDurations 1/1024 b | a e }
>     \addlyrics { O __ _ _ sa -- crum, }
>   >>
> >>
>
> }
>
>
>
>
>
>

Reply via email to