lilypond-user
[Top][All Lists]
Advanced

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

Re: Staff error


From: Chris Trahan
Subject: Re: Staff error
Date: Wed, 31 Dec 2014 11:24:16 -0600

Hey Phil,

That's what I did. l had tried that once before but without any luck. The score is a bit complex. Starts off with 4 part SATB then interlude then S S1 A then T T1 B then interlude then finishes in SATB.

I had to work with each part to get it all lined up properly but finally got it done. The only thing that I have to finish is the guitar chords.

Chris


On Wed, Dec 31, 2014 at 11:11 AM, Phil Holmes <address@hidden> wrote:
Chris,

I think this would work better if you gave each musician their full measure rests when they are not singing/playing and then let Lily remove them when they are not needed.  Something like:

\score {
<<
\new Staff { \relative c'' { R1 R1 c4 d e f f e d c R1 R1 } }
\new ChoirStaff
<<
\new Staff {
\relative c'' { c4 d e f f e d c \break R1 R1 \break c4 d e f f e d c }
}
\new Staff {
\relative c'' { g4 a b c c b a g R1 R1 g4 a b c c b a g }
}


\layout {
\context {
\Staff \RemoveEmptyStaves
\override VerticalAxisGroup.remove-first = ##t}
}
}

--
Phil Holmes


----- Original Message ----- From: Chris Trahan
To: LilyPond User Group
Sent: Tuesday, December 30, 2014 5:17 PM
Subject: Staff error




I'm trying to write a choral score that has parts, then an interlude, then
more parts, etc.

When I code it like the following, I get what I'm looking for.

\version "2.18.2"
\language "english"

% Verse 1
\new ChoirStaff
<<
 \new Staff {
   \relative c'' { c d e f }
 }
 \new Staff {
   \relative c'' { g a b c }
 }

% Interlude
\new Staff {
 \relative c'' { c d e f }
}
% Verse 2
\new ChoirStaff
<<
 \new Staff {
   \relative c { \clef "bass" d e f g }
 }
 \new Staff {
   \relative c { \clef "bass" a b c d }
 }



When I enclose the code in a \score block, I get an unexpected \new error on
line 17. What am I missing?

\version "2.18.2"
\language "english"

\score {
 % Verse 1
 \new ChoirStaff
 <<
   \new Staff {
     \relative c'' { c d e f }
   }
   \new Staff {
     \relative c'' { g a b c }
   }
 >>
 % Interlude
 \new Staff {
   \relative c'' { c d e f }
 }
 % Verse 2
 \new ChoirStaff
 <<
   \new Staff {
     \relative c { \clef "bass" d e f g }
   }
   \new Staff {
     \relative c { \clef "bass" a b c d }
   }
 >>
}

Thanks,
Chris







_______________________________________________
lilypond-user mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/lilypond-user


reply via email to

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