lilypond-user
[Top][All Lists]
Advanced

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

Re: Repeat in the middle of a measure - Alexander.ly (1/1)


From: Mats Bengtsson
Subject: Re: Repeat in the middle of a measure - Alexander.ly (1/1)
Date: Mon, 16 Feb 2009 13:25:39 +0100
User-agent: Thunderbird 2.0.0.5 (X11/20070716)

In the file you sent, there was no attempt to have a repeat in the middle of a measure. However, in the three upper parts you had inserted the \repeat command at the beginning of measure 9, whereas in the bass part you had inserted it at the beginning of measure 12, which means that the typeset score will contain a beginning repeat both in measure 9 and 12.

Also, I didn't see  empty measure at the end, that you complained about.

Reading your emails again, I tried to figure out what you want to obtain. Perhaps it's like the following (where I moved the \repeat command to 2 8th notes before measure 9 in all the parts) and inserted suitable \bar commands to get the special repeat bar layout (it's enough to do it
in one of the parts, since the setting applies to the full score).

\include "english.ly"
\version "2.12.1"
global = {
\key c \major
%\sacredHarpHeads
}

%#(set-default-paper-size "letter" 'landscape)

sopMusic = \relative c'' {
\time 6/8 \partial 8 g8 | g4 c8 c4 g8 | a4 a8 g4 f8 | g4 e8 c4 d8 | e2 r8 f8| g4 c8 c4 e8 | c4 a8 g4 f8 | e4 g8 d4 g8 | c,2 \repeat volta 2 {\bar ":" r8 g'8 | c4 g8 g4 b8 |
c4 d8 e4 c8 | f4 d8 e4 c8 | b2 r8 e8 | c4 a8 g4 g8 | a4 f8 f4 d8 |
e4 c8 g'4 b,8 |} \alternative { {<<e2 c2>> r8 g'8 \bar ":" } {<<e2. c2.>>} }
}

altoMusic = \relative c''{
\time 6/8
\partial 8 g8 | e4 f8 g4 e8 | c4 d8 g4 b,8 | c4 a8 f4 g8 | g2 r8 b8 |
c4 d8 e4 e8 | f4 a,8 b4 d8 | c4 e8 a,4 b8 | g2 \repeat volta 2 {r8 g8 | e'4 g8 f4 d8 |
e4 f8 e4 g8 | c4 g8 a4 c8 | b2 r8 g8 | f4 f8 e4 c8 | f4 a,8 b4 g8 |
a4 a8 g4 g8 | } \alternative { { g2 r8 g8 } {g2.} }
}

tenorMusic = \relative c''{
\time 6/8
\partial 8 g8 | c4 c8 c4 g8 | a4 a8 g4 f8 | e4 c8 c4 d8 | e2 r8 g8 |
c 4 c8 c4 g8 | a8 c4 g4 f8 | e4 c8 d4 d8 | c2 \repeat volta 2 { r8 g'8 | c4 c8 d4 d8 |
e4 d8 c4 c8 | f4 f8 e16([c8.]) e8 | d2 r8 e8 | c4 a8 g4 g8 | a8 c4 g4 f8 |
e16 c16( c4) c4 d8 |} \alternative { {c2 r8 g'8 } {c2.} }
}

bassMusic = \relative c' {
\time 6/8
\partial 8 g8 | c,4 d8 e4 c8 | f4 a8 c4 g8 | c4 g,8 a4 a8 | c2 r8 g'8 |
e4 f8 g4 c,8 | f4 f8 e4 f8 | g4 e8 g,4 f'8 | e2 \repeat volta 2 { r8 e8 | e4 e8 g4 g8 |
c4 g8 a4 g8 | a4 b8 c4 a8 | g2 r8 g8 | a4 f8 c4 c8 | f4 f8 d4 g,8 |
a4 a8 f4 g8 | } \alternative { { c2 r8 g8} { c2.} }
}

VerseOne = \lyricmode
{
\set stanza = "1. "
\set fontSize = #-0.75

As pear -- ly light be -- fore the dawn has thrust the dark a -- way, While
mourn -- ing doves and mock -- ing birds pro -- claim the ri -- sing day, We lift our hearts in joy -- ful song, for night is fin -- 'ly done; and all our fears, our ma -- ny tears, may
van -- ish in the sun. We sun.
}

VerseTwo = \lyricmode
{
\set stanza = "2. "
\set fontSize = #-0.75
Shake off the drow -- sy dreams of night, and rise to tasete the dawn! A
thou -- sand charms may greet our eyes be -- fore the light is gone. We lift our hearts in joy -- ful song, for night is fin -- 'ly done; and all our fears, our ma -- ny tears, may
van -- ish in the sun. We sun.
}

\header
{
  title = "Alexander"
  poet = "Miriam A. Kilmer, 1997"
  composer = "Miriam A. Kilmer, 1997"
}
\score {
\new ChoirStaff <<
\new Staff = sops <<
\new Voice =
"sopranos" { << \global \sopMusic >> }
\new Lyrics \lyricsto sopranos \VerseOne
>>

\new Staff = alts <<
\clef treble
\new Voice =
"altos" {  <<\global \altoMusic >> }
\new Lyrics \lyricsto altos \VerseTwo
>>

\new Staff = tens <<
\clef "treble"
\new Voice =
"tenors" { << \global \tenorMusic >> }
\new Lyrics \lyricsto tenors \VerseOne
>>

\new Staff = bas <<
\clef bass
\new Voice =
"bass" {  <<\global \bassMusic >> }
\new Lyrics \lyricsto bass \VerseTwo
>>
>>
\layout {
\context {
% a little smaller so lyrics
% can be closer to the staff
\Staff
\override VerticalAxisGroup #'minimum-Y-extent = #'(-1 . 1)
}
}
}


  /Mats



Tim Slattery wrote:
_______________________________________________
lilypond-user mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/lilypond-user

--
=============================================
        Mats Bengtsson
        Signal Processing
        School of Electrical Engineering
        Royal Institute of Technology (KTH)
        SE-100 44  STOCKHOLM
        Sweden
        Phone: (+46) 8 790 8463                         
       Fax:   (+46) 8 790 7260
        Email: address@hidden
        WWW: http://www.s3.kth.se/~mabe
=============================================





reply via email to

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