lilypond-user
[Top][All Lists]
Advanced

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

Re: Bug?: position of repeat bars for volta in lyrics


From: Eluze
Subject: Re: Bug?: position of repeat bars for volta in lyrics
Date: Sun, 27 Jan 2013 11:10:10 +0100
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130107 Thunderbird/17.0.2

please respond to the list !


Am 27.01.2013 00:45, schrieb Frank Steinmetzger:
On Thu, Jan 24, 2013 at 02:18:52AM -0800, Eluze wrote:
Frank Steinmetzger wrote
not sure to understand correctly why you want repeat volta in the lyrics
at
all!? for the reader it doesn't make clear what shall be repeated and
when.
please clarify!
Usually because then I can use the same score for MIDI output and don't
need
to start with \tag magic or chopped up lyrics blocks.
in \lyricsmode, using

\repeat unfold 2 {

should to it!
But then they would also unfold in the PDF.
What I usually do:

% -----------------------

sometext=\lyricmode {
        \repeat volta 2 {
                bla bla bla bla.
        }
        foo bar.
}

\score {
        ....
                \addlyrics \sometext
        ....
        \layout {}
}

\score {
        \unfoldRepeats

        ... same score content as above
        \midi {}
}

% -----------------------

If voltas interfered as described in my OP, I would do:
sometext=\lyricmode {
        bla bla bla bla
        \tag #'midi { bla bla bla bla }
        foo bar.
}
And then add appropriate tags in the two scores. But for some more complex
pieces, this can become cumbersome and/or obscure in the code.

is this what you want?

music=\relative c'' {
  R1
  \mark \default
  \repeat volta 2 { r4 r r r | a4 a a a }
  \mark \default
  R1 | a
  \bar "|."
}
text=\lyricmode { ah ah ah ah | beh. }
myStaff=\new Staff <<
  \music
  \addlyrics \text
>>
{ \myStaff }
\score {
  \unfoldRepeats
  \myStaff
  \midi {}
}

Eluze



reply via email to

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