Re: funny construction

2016-07-18 Thread David Wright
On Mon 18 Jul 2016 at 08:23:21 (-0700), tisimst wrote:
> BGM & David,
> On Mon, Jul 18, 2016 at 8:35 AM, David Wright [via Lilypond] <
> ml-node+s1069038n192791...@n5.nabble.com> wrote:
> > On Mon 18 Jul 2016 at 08:41:13 (-0500), Br. Gabriel-Marie | SSPX wrote:
> > > I have a song that goes like this:
> > > --
> > > soprano
> > > alto
> > > 15 lyric verses in between
> > > tenor
> > > bass
> > >
> > > soprano
> > > alto
> > > just one lyric in between - it's the chorus
> > > tenor
> > > bass
> > >
> > >
> > > soprano
> > > alto
> > > 15 lyric verses in between \repeatOfFourWords
> > > tenor
> > > bass
> >
> > If the material is sufficiently heterogeneous, it can
> > make sense to concatenate multiple scores.
> >
> 
> True, but I'm pretty sure multiple \score blocks aren't needed here, but
> rather make the notes/lyrics sequential.

You're quite right. But the way my mailboxes are arranged,
I was prejudiced by possible aversion to skips
http://lists.gnu.org/archive/html/lilypond-user/2016-06/msg00343.html
and need for extra annotations
http://lists.gnu.org/archive/html/lilypond-user/2016-06/msg00380.html
and thought we'd already come up with a solution like yours:
http://lists.gnu.org/archive/html/lilypond-user/2016-06/msg00350.html
...or, rather, its predecessors. I get very confused about
whether to take account of previous context or treat every
thread as a fresh start.

I thought the main problem was the accidental inclusion of the << >>.
I found the correct usage of << >> and the way it interacts with \\
to be one of the harder things to get my head around when I was
first learning LP. But that's an aside.

Cheers,
David.

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


Re: funny construction

2016-07-18 Thread Abraham Lee
On Mon, Jul 18, 2016 at 11:22 AM, David Wright 
wrote:

> On Mon 18 Jul 2016 at 08:23:21 (-0700), tisimst wrote:
> > BGM & David,
> > On Mon, Jul 18, 2016 at 8:35 AM, David Wright [via Lilypond]
> > > If the material is sufficiently heterogeneous, it can
> > > make sense to concatenate multiple scores.
> > >
> >
> > True, but I'm pretty sure multiple \score blocks aren't needed here, but
> > rather make the notes/lyrics sequential.
>
> You're quite right. But the way my mailboxes are arranged,
> I was prejudiced by possible aversion to skips
> http://lists.gnu.org/archive/html/lilypond-user/2016-06/msg00343.html
> and need for extra annotations
> http://lists.gnu.org/archive/html/lilypond-user/2016-06/msg00380.html
> and thought we'd already come up with a solution like yours:
> http://lists.gnu.org/archive/html/lilypond-user/2016-06/msg00350.html
> ...or, rather, its predecessors. I get very confused about
> whether to take account of previous context or treat every
> thread as a fresh start.
>
> I thought the main problem was the accidental inclusion of the << >>.
>

Yes, it appears it might just be a accidental mis-use of outer << >> in
this case instead of { } since it's obvious that the three sections were
meant to be sequential and not simultaneous.


> I found the correct usage of << >> and the way it interacts with \\
> to be one of the harder things to get my head around when I was
> first learning LP. But that's an aside.
>

FWIW, in case anyone cares to know how I do things, when it comes to using
\\ with << >>, I only use them in less complex, non-lyric-associated voices
and even then it's only when I need something temporarily and there aren't
ties/slurs/phrasing slurs/other spanners that I want to attach something
to. In almost every other case, I explicitly use instantiate voices, like

<<
  { \voiceOne ... }
  \new Voice { \voiceTwo ... }
>>

so I know exactly where the voices start and stop. It almost always makes
things clearer and easier to debug.

Best,
Abraham
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: funny construction

2016-07-18 Thread tisimst
BGM & David,

On Mon, Jul 18, 2016 at 8:35 AM, David Wright [via Lilypond] <
ml-node+s1069038n192791...@n5.nabble.com> wrote:

> On Mon 18 Jul 2016 at 08:41:13 (-0500), Br. Gabriel-Marie | SSPX wrote:
>
> > I have a song that goes like this:
> > --
> > soprano
> > alto
> > 15 lyric verses in between
> > tenor
> > bass
> >
> > soprano
> > alto
> > just one lyric in between - it's the chorus
> > tenor
> > bass
> >
> >
> > soprano
> > alto
> > 15 lyric verses in between \repeatOfFourWords
> > tenor
> > bass
>
> Your outermost enclosing << .. >> says play the enclosed structures
> simultaneously. They shouldn't be there.
>
> Replace:
>
> \score {
> <<
> \new StaffGroup ...
> \new StaffGroup ...
> \new StaffGroup ...
> >>
> \layout { }
> }
>
> by:
>
> \score {
> \new StaffGroup ...
> \layout { }
> }
> \score {
> \new StaffGroup ...
> \layout { }
> }
> \score {
> \new StaffGroup ...
> \layout { }
> }
>
> If the material is sufficiently heterogeneous, it can
> make sense to concatenate multiple scores.
>

True, but I'm pretty sure multiple \score blocks aren't needed here, but
rather make the notes/lyrics sequential. How about the following structure,
BGM?



\version "2.18.2"

altoTop = { c'1 c' c' c' }
altoCenter = { d'1 d' d' d' }
altoBottom = { e'1 e' e'2 e' f' f' }

bassTop = { \clef bass g1 g g g }
bassCenter = { f1 f f f }
bassBottom = { e1 e e2 e d d }

altoNotes = {
  \altoTop \break
  \altoCenter \break
  \altoBottom \bar "|."
}

bassNotes = {
  \bassTop
  \bassCenter
  \bassBottom
}

verseCenter = \lyricmode {
  Cen -- ter verse here
}

centerSkips = \lyricmode { \repeat unfold 4 { \skip 4 } }

choruslet = \lyricmode {
  Cho -- rus!
}

verseOne = \lyricmode {
  Verse one on top,
  % only needed in one of the verses
  \verseCenter
  Verse one be -- low:
  % no need to add skips here since nothing follows
}

% ... verses 2-7 (similar structure to verseFifteen below)

verseEight = \lyricmode {
  Verse eight on top,
  % used to jump over the chorus part since it is already in verseOne
  \centerSkips
  Verse eight be -- low:
  % put this here for convenient vertical alignment
  \choruslet
}

% ... verses 9-14 (similar structure to verseFifteen below)

verseFifteen = \lyricmode {
  Verse fif -- teen top,
  \centerSkips
  Verse fif -- teen low:
  % no need to add skips here since nothing follows
}

\score {
  \new ChoirStaff <<
\new Staff {
  \new Voice = alto \altoNotes
}
\new Lyrics \lyricsto alto \verseOne
% ...
\new Lyrics \lyricsto alto \verseEight
% ...
\new Lyrics \lyricsto alto \verseFifteen
\new Staff {
  \new Voice = bass \bassNotes
}
  >>
  \layout {
\override Lyrics.VerticalAxisGroup #'staff-affinity = #CENTER
  }
}



HTH,
Abraham




--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/funny-construction-tp192789p192794.html
Sent from the User mailing list archive at Nabble.com.___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: funny construction

2016-07-18 Thread David Wright
On Mon 18 Jul 2016 at 08:41:13 (-0500), Br. Gabriel-Marie | SSPX wrote:
> I have a song that goes like this:
> --
> soprano
> alto
> 15 lyric verses in between
> tenor
> bass
> 
> soprano
> alto
> just one lyric in between - it's the chorus
> tenor
> bass
> 
> 
> soprano
> alto
> 15 lyric verses in between \repeatOfFourWords
> tenor
> bass

Your outermost enclosing << .. >> says play the enclosed structures
simultaneously. They shouldn't be there.

Replace:

\score {
<<
\new StaffGroup ...
\new StaffGroup ...
\new StaffGroup ...
>>
\layout { }
}

by:

\score {
\new StaffGroup ...
\layout { }
}
\score {
\new StaffGroup ...
\layout { }
}
\score {
\new StaffGroup ...
\layout { }
}

If the material is sufficiently heterogeneous, it can
make sense to concatenate multiple scores.

Cheers,
David.

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


funny construction

2016-07-18 Thread Br. Gabriel-Marie | SSPX

I'm stuck, y'all.

I have a song that goes like this:
--
soprano
alto
15 lyric verses in between
tenor
bass

soprano
alto
just one lyric in between - it's the chorus
tenor
bass


soprano
alto
15 lyric verses in between \repeatOfFourWords
tenor
bass
--
How do I lay this out?  I have two problems:
1. How do I get the center staff to be not connected to the 
other two?
2. How do I make three separate staffs?  The code I have 
right now makes one giant staff and tries to play all three 
of them at once.


Right now, I've got this, which is wrong -


\score {
<<
\new StaffGroup <<
\new Staff<<
\new Voice = "altoTop" \altoTop
\break
>>
\new Lyrics \lyricsto "versesTop" { lyrics... }
\new Lyrics \lyricsto "versesTop" { lyrics... }
\new Staff<<
\new Voice = "bassTop" \bassTop
\break
>>
>>

\new StaffGroup <<
\new Staff<<
\new Voice = "altoCenter" \altoCenter
\break
>>
\new Lyrics \lyricsto "versesCenter" { Ti -- 
rou -- li, ra -- ta -- plan, ra -- ta -- plan. }

\new Staff<<
\new Voice = "bassCenter" \bassCenter
\break
>>
>>


\new StaffGroup<<
\new Staff<<
\new Voice = "altoBottom" \altoBottom
>>
\new Lyrics \lyricsto "versesBottom" { 
lyrics... \choruslet   }
\new Lyrics \lyricsto "versesBottom" { 
lyrics \choruslet   }


\new Staff<<
\new Voice = "bassBottom" \bassBottom
>>

>>
>>
\layout {
\override Lyrics.VerticalAxisGroup #'staff-affinity 
= #CENTER

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