[Top][All Lists]

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

Re: music function to be included somewhere in scm/*

From: Knut Petersen
Subject: Re: music function to be included somewhere in scm/*
Date: Tue, 20 Dec 2016 14:16:34 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.5.1

I'd advocate to keep minimum-length.

I second the vote for collapse-length.

Ok, next try:


     (length-limit-or-forced-length ,ly:dimension? "An automatically
generated lyric extender is suppressed if it would be shorter than
this length. A forced lyric extender is given this length if possible.")

I still have one problem:

\score {
    \new Voice = "singleVoice" {
        \relative {
          a'4 a a a
          \repeat volta 3 { b4 b b b }
          c4 c c c
    \displayMusic \new Lyrics \lyricsto "singleVoice" {
      Not re -- peat -- ed.
        { The first time words.    }
        \new Lyrics { \set associatedVoice = "singleVoice" Sec -- ond time  
words. #(make-music (quote CompletizeExtenderEvent)) }
        \new Lyrics { \set associatedVoice = "singleVoice" The third time 
words. #(make-music (quote CompletizeExtenderEvent)) }

I would like to see a CompletizeExtenderEvent automatically generated at the 
places indicated above ... I think that this could be possible in the
add-lyrics code defined at the end of scm/ly-syntax-constructors.scm. Any ideas 
how to change the code there?


reply via email to

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