bug-lilypond
[Top][All Lists]
Advanced

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

Re: Percent repeats in lyrics causes error in 2.18.2


From: Alexey Vinogradov
Subject: Re: Percent repeats in lyrics causes error in 2.18.2
Date: Wed, 8 May 2019 08:43:41 +0700

Yes, abstract is mostly just to have something (lyrics) foldable and
unfoldable - i.e. printed once, or printed repeatedly.

Not sure if it is dare to make a 'special' kind of 'repeat fold' for
lyrics, seems like teaching existing repeats to work correctly with lyric
would be enough.

Existing solutions doesn't work well - neither 'repeat volta', neither
'repeat percent' not work well with lyrics.
Here of 4 examples, explanation below:

\version "2.18.2"
fine= {\bar "||" \break}
first = \relative  c' {
  %1 music
  R1 \repeat volta 2 { r4 e e e } \alternative { { c1 } { d } } \fine

  %2 music
  R1 \repeat volta 2 { r4 e e e } \alternative { { c1 } { d } } \fine
}

second = \relative c'' {
  %3 music
  \repeat percent 2 { g4 e } \fine

  g e \fine
}

firstlyrics = \lyricmode {
  %1 lyric
  \repeat volta 2 { re -- pe -- at } \alternative { { once } { twice } }

  %2 lyric
   re -- pe -- at once  twice
}

secondlyrics = \lyricmode {
  %3 lyric
  % \repeat percent 2 { tic tac }
  \repeat unfold 2 { tic tac }

  tuc tuc
}

\score {
    <<
      \new Voice = "first" { \voiceOne \first }
      \new Lyrics \lyricsto "first" { \firstlyrics }
    >>
  \layout { }
}
\score {
    <<
      \new Voice = "second" { \voiceOne \second }
      \new Lyrics \lyricsto "second" { \secondlyrics }
    >>
  \layout { }
}

\score {
  \unfoldRepeats
    <<
      \new Voice = "first" { \first }
      \new Lyrics \lyricsto "first" { \firstlyrics }
    >>
  \layout { }
}
\score {
  \unfoldRepeats
    <<
      \new Voice = "second" { \second }
      \new Lyrics \lyricsto "second" { \secondlyrics }
    >>
  \layout { }
}
%EOF

One and same piece printed twice first with unfold, then ad lib.

Expected lyrics to be aligned to music in all the cases.
Unfortunately, no one works.

1. Lyrics as music placed into 'repeat volta' and alternative.
It unfolds perfectly. But folded version, hm, inject extra undesirable mark
of repeat - because music's repeat includes a rest, but lyrics skip it and
place it's own mark in advance.

2. Music repeated, lyrics not.
It looks perfectly in folded version. However unfolded lacks the lyric at
the end.

3.0. Music in percent repeat, lyrics in percent repeat - doesn't work (the
bug.
3.1 - Music in percent repeat, lyrics in unfold - works for unfolded
version perfectly. However folded has extra lyrics which hides out last
lyric clause 'tuc tuc' in folded clause.

So, there is just no working way to make folded/unfolded version of music
with rests and lyrics, which 'just works'.

First, about volta repeats. I don't know, is it expected or not that it
influents to whole score being applied only to lyrics? Seems that it
creates more messing then solve any problem (but may be I just don't know
correct usecase).
Second, percent repeats. This is reported as non-working.

So, I would expect that both kind of repeats with lyrics works just as
folding/unfolding tool, without any influence to other part of the score.
Volta would be good just to enter alternatives.
Percent would be good just to mirror the same percent repeat in the music
(and fold/unfold). Also for lyrics percent may optionally output a kind of
text for every folding (like a '%' char, or customized), but just a gap is
well also.


ср, 8 мая 2019 г. в 04:11, Thomas Morley <address@hidden>:

> Am Di., 7. Mai 2019 um 23:00 Uhr schrieb David Kastrup <address@hidden>:
> >
> > David Kastrup <address@hidden> writes:
> >
> > > Thomas Morley <address@hidden> writes:
> > >
> > >> Am Di., 7. Mai 2019 um 14:15 Uhr schrieb <address@hidden>:
> > >
> > > [...]
> > >
> > >> Though, it's the first time ever I've heard somebody wants to use
> > >> \repeat percent in Lyrics...
> > >
> > > It sounded to me like what desired was more like \repeat fold , namely
> > > something that doesn't do anything except be subject to \repeat unfold
> > > .
> >
> > More like subject to \unfoldRepeats .  Sorry, got confused.
> >
> > >
> > > Does that seem like a reasonably useful name/request or is that too
> > > esoteric?
> >
> > --
> > David Kastrup
>
> You mean something like \repeat volta without repeat-bar-lines or
> similar to the visibility of compressed and uncomprssed
> MultiMeasureRests?
> Sounds nice and "\repeat fold" reasonable, imho.
>
> Cheers,
>   Harm
>
> _______________________________________________
> bug-lilypond mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/bug-lilypond
>


reply via email to

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