[prev in list] [next in list] [prev in thread] [next in thread] 

List:       lilypond-user
Subject:    Re: Staff error
From:       Chris Trahan <trahan.chris () gmail ! com>
Date:       2014-12-31 17:24:16
Message-ID: CAAMjvfX9UewXKA34Bu8zX4+Gs=4y_JcEow=Kh5NKN2n0PKnu5w () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


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 <mail@philholmes.net> 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
> lilypond-user@gnu.org
> https://lists.gnu.org/mailman/listinfo/lilypond-user
>

[Attachment #5 (text/html)]

<div dir="ltr"><div dir="ltr"><div><div>Hey Phil,<br><br>That&#39;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.<br><br></div>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.<span class=""><font \
color="#888888"><br><br></font></span></div><span class=""><font \
color="#888888">Chris<br></font></span></div><br><div class="gmail_extra"><br><div \
class="gmail_quote">On Wed, Dec 31, 2014 at 11:11 AM, Phil Holmes <span \
dir="ltr">&lt;<a href="mailto:mail@philholmes.net" \
target="_blank">mail@philholmes.net</a>&gt;</span> wrote:<br><blockquote \
class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid \
rgb(204,204,204);padding-left:1ex">Chris,<br> <br>
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:<br> <br>
\score {<br>
&lt;&lt;<br>
\new Staff { \relative c&#39;&#39; { R1 R1 c4 d e f f e d c R1 R1 } }<br>
\new ChoirStaff<br>
&lt;&lt;<br>
\new Staff {<br>
\relative c&#39;&#39; { c4 d e f f e d c \break R1 R1 \break c4 d e f f e d c }<br>
}<br>
\new Staff {<br>
\relative c&#39;&#39; { g4 a b c c b a g R1 R1 g4 a b c c b a g }<br>
}<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid \
rgb(204,204,204);padding-left:1ex"><blockquote class="gmail_quote" style="margin:0px \
0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"> <br>
<br>
</blockquote></blockquote>
\layout {<br>
\context {<br>
\Staff \RemoveEmptyStaves<br>
\override VerticalAxisGroup.remove-first = ##t}<br>
}<br>
}<br>
<br>
--<br>
Phil Holmes<br>
<br>
<br>
----- Original Message ----- From: Chris Trahan<br>
To: LilyPond User Group<br>
Sent: Tuesday, December 30, 2014 5:17 PM<br>
Subject: Staff error<div><div class="h5"><br>
<br>
<br>
<br>
I&#39;m trying to write a choral score that has parts, then an interlude, then<br>
more parts, etc.<br>
<br>
When I code it like the following, I get what I&#39;m looking for.<br>
<br>
\version &quot;2.18.2&quot;<br>
\language &quot;english&quot;<br>
<br>
% Verse 1<br>
\new ChoirStaff<br>
&lt;&lt;<br>
  \new Staff {<br>
     \relative c&#39;&#39; { c d e f }<br>
  }<br>
  \new Staff {<br>
     \relative c&#39;&#39; { g a b c }<br>
  }<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid \
rgb(204,204,204);padding-left:1ex"><blockquote class="gmail_quote" style="margin:0px \
0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"> <br>
</blockquote></blockquote>
% Interlude<br>
\new Staff {<br>
  \relative c&#39;&#39; { c d e f }<br>
}<br>
% Verse 2<br>
\new ChoirStaff<br>
&lt;&lt;<br>
  \new Staff {<br>
     \relative c { \clef &quot;bass&quot; d e f g }<br>
  }<br>
  \new Staff {<br>
     \relative c { \clef &quot;bass&quot; a b c d }<br>
  }<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid \
rgb(204,204,204);padding-left:1ex"><blockquote class="gmail_quote" style="margin:0px \
0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"> <br>
</blockquote></blockquote>
<br>
<br>
When I enclose the code in a \score block, I get an unexpected \new error on<br>
line 17. What am I missing?<br>
<br>
\version &quot;2.18.2&quot;<br>
\language &quot;english&quot;<br>
<br>
\score {<br>
  % Verse 1<br>
  \new ChoirStaff<br>
  &lt;&lt;<br>
     \new Staff {<br>
        \relative c&#39;&#39; { c d e f }<br>
     }<br>
     \new Staff {<br>
        \relative c&#39;&#39; { g a b c }<br>
     }<br>
  &gt;&gt;<br>
  % Interlude<br>
  \new Staff {<br>
     \relative c&#39;&#39; { c d e f }<br>
  }<br>
  % Verse 2<br>
  \new ChoirStaff<br>
  &lt;&lt;<br>
     \new Staff {<br>
        \relative c { \clef &quot;bass&quot; d e f g }<br>
     }<br>
     \new Staff {<br>
        \relative c { \clef &quot;bass&quot; a b c d }<br>
     }<br>
  &gt;&gt;<br>
}<br>
<br>
Thanks,<br>
Chris<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br></div></div>
______________________________<u></u>_________________<br>
lilypond-user mailing list<br>
<a href="mailto:lilypond-user@gnu.org" target="_blank">lilypond-user@gnu.org</a><br>
<a href="https://lists.gnu.org/mailman/listinfo/lilypond-user" \
target="_blank">https://lists.gnu.org/mailman/<u></u>listinfo/lilypond-user</a> <br> \
</blockquote></div><br></div></div>



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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic