Re: New repeat type

2017-08-31 Thread Knut Petersen

Hi Dan!

The disease is that Lilypond needs to see lyrics for multiple stanzas encoded as simultaneous music in order to set them one below another, and the right action is to cure that, not to infect \repeat. 


Well, at least it is possible to define lyrics within a stanza in a way to 
produce the correct results with bold unfold and not unfolded repeats.

\version "2.21.0"

melody = { \relative { \repeat volta 2 { c''4 4 4 4 } \alternative { { d2 2 } { 
e2 2 } } c1 } }
lyricA = \lyricmode { \repeat volta 2 { a a a a } \alternative { { b b } { c c 
} } d }
lyricB = \lyricmode { \repeat volta 2 { e e e e } \alternative { { f f } { g g 
} } h }


{
    { \melody \bar "|." }
    \addlyrics { \set stanza = #"1. " \lyricA }
    \addlyrics { \set stanza = #"2. " \lyricB }
}


\unfoldRepeats {
    { \melody \bar "|." }
    \addlyrics { \set stanza = #"1. " \lyricA }
    \addlyrics { \set stanza = #"2. " \lyricB }
}

%
% Do you look for a function named e.g \unfoldStanzas to be used like e.g.
%
%   \unfoldStanzas \unfoldRepeats {
%   { \melody \bar "|." }
%   \addlyrics { \set stanza = #"1. " \lyricA }
%   \addlyrics { \set stanza = #"2. " \lyricB }
%   }
%
% that should produce something like
%

\unfoldRepeats {
    { \melody \bar "||" \melody \bar "|." }
    \addlyrics { \lyricA \lyricB }
}

I don't think that such a function would be very useful, think about dynamics 
etc.

Knut

___
lilypond-devel mailing list
lilypond-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-devel


PATCHES - countdown postponed - patchy server network issues

2017-08-31 Thread James
Hello,

Due to some networking problems PATCHY merge was/is not able to connect
to the internet today.

I am hoping the issue will be resolved 'on the morrow'.

I didn't see any urgent issues in the patch list so another 24 hours
isn't going to hurt (I hope).

Regards


James


___
lilypond-devel mailing list
lilypond-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-devel