Re: Song with two different verses, where the melody differs but in the last two measures

2016-06-16 Thread Bernhard Kleine


Am 16.06.2016 um 21:23 schrieb tisimst:
> mehrstimmigTextII = \lyricmode {
>   Gut,  dass wir nicht uns nur ha -- ben, dass der Kreis sich nie --
> mals schließt,
>   und dass Gott, von dem wir re -- den, \repeat unfold 7 { \skip 1 }
> hier in uns -- rer Mit -- te ist.
> }
 That is the solution. Many thanks

Bernhard

-- 
--
spitzhalde9
79853 lenzkirch
bernhard.kle...@gmx.net
www.b-kleine.com, www.urseetal.net
-
thunderbird mit enigmail
GPG schlüssel: D5257409
fingerprint:
08 B7 F8 70 22 7A FC C1 15 49 CA A6 C7 6F A0 2E D5 25 74 09



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


Re: Song with two different verses, where the melody differs but in the last two measures

2016-06-16 Thread tisimst
On Thu, Jun 16, 2016 at 1:18 PM, Bernhard Kleine [via Lilypond] <
ml-node+s1069038n191696...@n5.nabble.com> wrote:
>
> mehrstimmigText = \lyricmode {
> Gut, dass wir ein -- an -- der ha -- ben, gut, dass wir ein -- an --
> der sehn,
> Sor -- gen, Freu -- den, Krä -- fte tei -- len und auf einem We -- ge
> gehn.
> \repeat unfold 2 { \skip 1 }
> }
> mehrstimmigZwei = \lyricmode {
> Gut,  dass wir nicht uns nur ha -- ben, dass der Kreis sich nie --
> mals schließt,
> und dass Gott, von dem wir re -- den,
> \repeat unfold 2 { \skip 1 \skip 1 \skip 1 }
> hier in uns -- rer Mit -- te ist.
> }
>
> This is almost sufficient. The next \skip 1 is to much to the right, one
> eigths to much. I do not see how to tune it.
> \skip 3 or \skip 2 does not work.
>
> Do you have any idea?
>
> Bernhard
>

Looking over your code, there were a couple of things that needed to be
fixed, but how about this:

%%%

\version "2.19.5"
\language "deutsch"

global = {
  \key c \major
  \time 4/4
}

RefrainSopran = \relative c'' {
  \global
  \override Stem.direction = #UP
  \repeat volta 2 { c4. c8 c4 c  | h a g e | a8 a a a a4 g | g2 h\rest |
d,4. d8 d4 f | g e d c | }
  \alternative { { d8 d d d d4 e | d2 h'\rest } {  d,8 d d d d4 c | c2
h'\rest} }
}

RefrainAlt = \relative c' {
  \global
  \override Stem.direction = #DOWN
  \slurDown
  \repeat volta 2 {e4. e8 e4 e | e e d d | c8 c c c f4 f | e2 s2 | d4. d8
d4 d | h h a a }
  \alternative { {a8 a a a a4 c | h2 s2 } { a8 a a a a4 a | g2 s2  \bar
"|."}}
}

RefrainTenor = \relative c' {
  \global
  \clef bass
  \override Stem.direction = #UP
  \repeat volta 2 { g4. g8 g4 g |g a h g | f8 f f a c4 c | c2 s2 | f,4. f8
g4 a | g g e e }
  \alternative { { f8 f f f f4 a| g2 s2 } { f8 f f f f4 f |e2 s2 \bar "|."}}
}

RefrainBass = \relative c {
  \global
  \clef bass
  \override Stem.direction = #DOWN
  \repeat volta 2 { e4. e8 e4 e |g g g g | a8 a a a a4 a | g2 d\rest | f4.
f8 f4 f | g g c, c }
  \alternative { { f8 f f f f4 f| h,2 e\rest } { f8 f f f c4 c |e2 e\rest
\bar "|."}}
}

einstimmigNoten = \relative c' {
  \global
  % Die Noten folgen hier.
  d4 a' r4 f8 d | c4 g' e c | d a' r4 f8 d| c4 g' d2| d4 c' h a |g gis a h
| c8 c c c h4 a | g2. r4
  | d4 a' r4 f8 d | c4 g' e c | d a' r4 f8 d| c4 g' d2| d4 c' h a |g gis a
h | c8 c c c h4 a | g2. r4\bar "|"
}

mehrstimmigTextI = \lyricmode {
  Gut, dass wir ein -- an -- der ha -- ben, gut, dass wir ein -- an -- der
sehn,
  Sor -- gen, Freu -- den, Krä -- fte tei -- len und auf ein -- em We -- ge
gehn.
}

mehrstimmigTextII = \lyricmode {
  Gut,  dass wir nicht uns nur ha -- ben, dass der Kreis sich nie -- mals
schließt,
  und dass Gott, von dem wir re -- den, \repeat unfold 7 { \skip 1 } hier
in uns -- rer Mit -- te ist.
}

\layout {
  indent = 0
}
\score {
  \new ChoirStaff <<
 \new Staff <<
  \new Voice = "RefrainS" {
\RefrainSopran
  }
  \new Voice = "RefrainA" {
\RefrainAlt
  }
  \new Lyrics \lyricsto "RefrainA" \mehrstimmigTextI
  \new Lyrics \lyricsto "RefrainA" \mehrstimmigTextII
>>
\new Staff <<
  \new Voice = "RefrainT" {
\RefrainTenor
  }
  \new Voice = "RefrainB" {
\RefrainBass
  }
>>
  >>
}

%%%

HTH,
Abraham




--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Song-with-two-different-verses-where-the-melody-differs-but-in-the-last-two-measures-tp191686p191697.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: Song with two different verses, where the melody differs but in the last two measures

2016-06-16 Thread Bernhard Kleine
>
> \skip does just what you might assume--it skips you ahead some amount.
> The amount you give the \skip command is arbitrary in the Lyrics
> context, meaning that it will ALWAYS only skip a single syllable,
> which is why the example uses \repeat unfold 2 { \skip 1 } in order to
> skip the correct number of notes in the second alternate ending. Of
> course you could type \skip 1 \skip 1 \skip 1 ... for as many as you
> need, but you decide which is more convenient.
mehrstimmigText = \lyricmode {
Gut, dass wir ein -- an -- der ha -- ben, gut, dass wir ein -- an --
der sehn,
Sor -- gen, Freu -- den, Krä -- fte tei -- len und auf einem We --
ge gehn.
\repeat unfold 2 { \skip 1 }
}
mehrstimmigZwei = \lyricmode {
Gut,  dass wir nicht uns nur ha -- ben, dass der Kreis sich nie --
mals schließt,
und dass Gott, von dem wir re -- den,
\repeat unfold 2 { \skip 1 \skip 1 \skip 1 }
hier in uns -- rer Mit -- te ist.  
}
 
This is almost sufficient. The next \skip 1 is to much to the right, one
eigths to much. I do not see how to tune it.
\skip 3 or \skip 2 does not work.

Do you have any idea?

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


Re: Song with two different verses, where the melody differs but in the last two measures

2016-06-16 Thread tisimst
On Thu, Jun 16, 2016 at 12:45 PM, Bernhard Kleine [via Lilypond] <
ml-node+s1069038n191694...@n5.nabble.com> wrote:

> Am 16.06.2016 um 20:25 schrieb tisimst:
>
> That's because you didn't put anything in the \repeat volta 2 { ... }
>> section prior to starting the \alternative { { ... } { ... } } section.
>>
>
> Oh, and you'll probably want to NOT use \repeat here at all, but enter
> them as separate Lyrics, adding necessary \skip in the second verse to go
> into the 2nd alternative ending, like
>
> I do not find  the \skip documentation, please point to the chapter of the
> documentation.
>

In the section I pointed you to, second to last example (at least on the
English version), you should see this:

%

\score {
  <<
\new Staff {
  \time 2/4
  \new Voice = "melody" {
\relative {
  \repeat volta 2 { b'4 b ~}
  \alternative { { b b } { b \repeatTie c } }
  c4 c
}
  }
}
\new Lyrics {
  \lyricsto "melody" {
Here's a __ verse.
\repeat unfold 2 { \skip 1 }
  }
}
\new Lyrics {
  \lyricsto "melody" {
Here's one
\repeat unfold 2 { \skip 1 }
more to sing.
  }
}
  >>
}

%

\skip does just what you might assume--it skips you ahead some amount. The
amount you give the \skip command is arbitrary in the Lyrics context,
meaning that it will ALWAYS only skip a single syllable, which is why the
example uses \repeat unfold 2 { \skip 1 } in order to skip the correct
number of notes in the second alternate ending. Of course you could type
\skip 1 \skip 1 \skip 1 ... for as many as you need, but you decide which
is more convenient.

HTH,
Abraham




--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Song-with-two-different-verses-where-the-melody-differs-but-in-the-last-two-measures-tp191686p191695.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: Song with two different verses, where the melody differs but in the last two measures

2016-06-16 Thread Bernhard Kleine
Am 16.06.2016 um 20:25 schrieb tisimst:
>
> That's because you didn't put anything in the \repeat volta 2 {
> ... } section prior to starting the \alternative { { ... } { ... }
> } section.
>
>
> Oh, and you'll probably want to NOT use \repeat here at all, but enter
> them as separate Lyrics, adding necessary \skip in the second verse to
> go into the 2nd alternative ending, like
I do not find  the \skip documentation, please point to the chapter of
the documentation.

Thanks
Bernhard

-- 
--
spitzhalde9
79853 lenzkirch
bernhard.kle...@gmx.net
www.b-kleine.com, www.urseetal.net
-
thunderbird mit enigmail
GPG schlüssel: D5257409
fingerprint:
08 B7 F8 70 22 7A FC C1 15 49 CA A6 C7 6F A0 2E D5 25 74 09

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


Re: Song with two different verses, where the melody differs but in the last two measures

2016-06-16 Thread tisimst
On Thu, Jun 16, 2016 at 12:19 PM, Abraham Lee 
wrote:

>
>
> On Thu, Jun 16, 2016 at 12:14 PM, Bernhard Kleine [via Lilypond] <
> ml-node+s1069038n191690...@n5.nabble.com> wrote:
>
>> Am 16.06.2016 um 18:45 schrieb tisimst:
>>
>> Bernhard,
>>
>> On Thu, Jun 16, 2016 at 10:34 AM, Bernhard Kleine [via Lilypond] <[hidden
>> email] > wrote:
>>
>>> I have a hymn which has 8 measures which are alltogether repeated.
>>> The last two measures are different between the repetitions.
>>> The text, however, is totally different between the two repitition.
>>>
>>> I have not found an example for this. Please give me some hints to set
>>> the hymn.
>>>
>>
>> I think you might get a complaint about not having a "tiny example" or
>> source file to show how far you've gotten (or at least a picture or
>> something), but I wonder if you have seen this section:
>>
>>
>> http://lilypond.org/doc/v2.19/Documentation/notation/techniques-specific-to-lyrics#lyrics-and-repeats
>>
>> Seems like the subsection "Repeats with alternative endings" might point
>> you in the right direction.
>>
>> HTH,
>> Abraham
>>
>> I have seen the appropiate page in the German manual, the following does
>> not work, error unexpected alternative:
>>
>
> [SNIP]
>
>
>> mehrstimmigText = \lyricmode {
>>   \repeat volta 2 {
>>   \alternative {
>> {  Gut, dass wir ein -- an -- der ha -- ben, gut, dass wir ein -- an
>> -- der sehn,
>> Sor -- gen, Freu -- den, Krä -- fte tei -- len und auf einem We -- ge
>> gehn. }
>> { Gut,  dass wir nicht uns nur ha -- ben, dass der Kreis sich nie --
>> mals schließt,
>> und dass Gott, von dem wir re -- den, hier in uns -- rer Mit -- te
>> ist. }
>>   }
>>   }
>> }
>>
>
> [SNIP]
>
> That's because you didn't put anything in the \repeat volta 2 { ... }
> section prior to starting the \alternative { { ... } { ... } } section.
>

Oh, and you'll probably want to NOT use \repeat here at all, but enter them
as separate Lyrics, adding necessary \skip in the second verse to go into
the 2nd alternative ending, like

merhstimmigTextI = \lyricmode {
  % verse 1
}

merhstimmigTextII = lyricmode {
  % verse 2
}

\score {
  <<
...
\new Lyrics \lyricsto "RefrainA" \merhstimmigTextI
\new Lyrics \lyricsto "RefrainA" \merhstimmigTextII
...
  >>
}

and then attach them to the same voice ("RefrainA"?).

Best,
Abraham




--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Song-with-two-different-verses-where-the-melody-differs-but-in-the-last-two-measures-tp191686p191692.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: Song with two different verses, where the melody differs but in the last two measures

2016-06-16 Thread tisimst
On Thu, Jun 16, 2016 at 12:14 PM, Bernhard Kleine [via Lilypond] <
ml-node+s1069038n191690...@n5.nabble.com> wrote:

> Am 16.06.2016 um 18:45 schrieb tisimst:
>
> Bernhard,
>
> On Thu, Jun 16, 2016 at 10:34 AM, Bernhard Kleine [via Lilypond] <[hidden
> email] > wrote:
>
>> I have a hymn which has 8 measures which are alltogether repeated.
>> The last two measures are different between the repetitions.
>> The text, however, is totally different between the two repitition.
>>
>> I have not found an example for this. Please give me some hints to set
>> the hymn.
>>
>
> I think you might get a complaint about not having a "tiny example" or
> source file to show how far you've gotten (or at least a picture or
> something), but I wonder if you have seen this section:
>
>
> http://lilypond.org/doc/v2.19/Documentation/notation/techniques-specific-to-lyrics#lyrics-and-repeats
>
> Seems like the subsection "Repeats with alternative endings" might point
> you in the right direction.
>
> HTH,
> Abraham
>
> I have seen the appropiate page in the German manual, the following does
> not work, error unexpected alternative:
>

[SNIP]


> mehrstimmigText = \lyricmode {
>   \repeat volta 2 {
>   \alternative {
> {  Gut, dass wir ein -- an -- der ha -- ben, gut, dass wir ein -- an
> -- der sehn,
> Sor -- gen, Freu -- den, Krä -- fte tei -- len und auf einem We -- ge
> gehn. }
> { Gut,  dass wir nicht uns nur ha -- ben, dass der Kreis sich nie --
> mals schließt,
> und dass Gott, von dem wir re -- den, hier in uns -- rer Mit -- te
> ist. }
>   }
>   }
> }
>

[SNIP]

That's because you didn't put anything in the \repeat volta 2 { ... }
section prior to starting the \alternative { { ... } { ... } } section.

Best,
Abraham




--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Song-with-two-different-verses-where-the-melody-differs-but-in-the-last-two-measures-tp191686p191691.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: Song with two different verses, where the melody differs but in the last two measures

2016-06-16 Thread Bernhard Kleine
Am 16.06.2016 um 18:45 schrieb tisimst:
> Bernhard,
>
> On Thu, Jun 16, 2016 at 10:34 AM, Bernhard Kleine [via Lilypond]
> <[hidden email] > wrote:
>
> I have a hymn which has 8 measures which are alltogether repeated.
> The last two measures are different between the repetitions.
> The text, however, is totally different between the two repitition.
>
> I have not found an example for this. Please give me some hints to
> set
> the hymn.
>
>
> I think you might get a complaint about not having a "tiny example" or
> source file to show how far you've gotten (or at least a picture or
> something), but I wonder if you have seen this section: 
>
> http://lilypond.org/doc/v2.19/Documentation/notation/techniques-specific-to-lyrics#lyrics-and-repeats
>
> Seems like the subsection "Repeats with alternative endings" might
> point you in the right direction.
>
> HTH,
> Abraham
I have seen the appropiate page in the German manual, the following does
not work, error unexpected alternative:

\version "2.19.5"
\language "deutsch"

global = {
  \key c \major
  \time 4/4
}

RefrainSopran = \relative c'' {
  \global
  \override Stem.direction = #UP
  \repeat volta 2 { c4. c8 c4 c  | h a g e | a8 a a a a4 g | g2 h\rest |
d,4. d8 d4 f | g e d c | }
  \alternative { { d8 d d d d4 e | d2 h'\rest } {  d,8 d d d d4 c | c2
h'\rest} }
}
RefrainAlt = \relative c' {
  \global
  \override Stem.direction = #DOWN
  \slurDown
  \repeat volta 2 {e4. e8 e4 e | e e d d | c8 c c c f4 f | e2 s2 | d4.
d8 d4 d | h h a a }
  \alternative { {a8 a a a a4 c | h2 s2 } { a8 a a a a4 a | g2 s2  \bar
"|."}} 
}
RefrainTenor = \relative c' {
  \global
  \clef bass
  \override Stem.direction = #UP
  \repeat volta 2 { g4. g8 g4 g |g a h g | f8 f f a c4 c | c2 s2 | f,4.
f8 g4 a | g g e e }
  \alternative { { f8 f f f f4 a| g2 s2 } { f8 f f f f4 f |e2 s2 \bar "|."}}
}
RefrainBass = \relative c {
  \global
  \clef bass
  \override Stem.direction = #DOWN
  \repeat volta 2 { e4. e8 e4 e |g g g g | a8 a a a a4 a | g2 e\rest |
f4. f8 f4 f | g g c, c }
  \alternative { { f8 f f f f4 f| h,2 e\rest } { f8 f f f c4 c |e2
e\rest \bar "|."}}
}
einstimmigNoten = \relative c' {
  \global
  % Die Noten folgen hier.
  d4 a' r4 f8 d | c4 g' e c | d a' r4 f8 d| c4 g' d2| d4 c' h a |g gis a
h | c8 c c c h4 a | g2. r4
  | d4 a' r4 f8 d | c4 g' e c | d a' r4 f8 d| c4 g' d2| d4 c' h a |g gis
a h | c8 c c c h4 a | g2. r4\bar "|"
}
mehrstimmigText = \lyricmode {
  \repeat volta 2 {
  \alternative {
{  Gut, dass wir ein -- an -- der ha -- ben, gut, dass wir ein -- an
-- der sehn,
Sor -- gen, Freu -- den, Krä -- fte tei -- len und auf einem We --
ge gehn. }
{ Gut,  dass wir nicht uns nur ha -- ben, dass der Kreis sich nie --
mals schließt,
und dass Gott, von dem wir re -- den, hier in uns -- rer Mit -- te
ist. }
  }
  } 
}

\layout {
  indent = 0
}
\score {
  \new ChoirStaff <<
 \new Staff <<
  \new Voice = "RefrainS" {
\RefrainSopran
  }
  \new Voice = "RefrainA" {
\RefrainAlt
  }
 
  \new Lyrics \lyricsto "RefrainA" {
\mehrstimmigText
  }
>>
\new Staff <<
  \new Voice = "RefrainT" {
\RefrainTenor
  }
  \new Voice = "RefrainB" {
\RefrainBass
  }
>>
  >>
}


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


Re: Song with two different verses, where the melody differs but in the last two measures

2016-06-16 Thread tisimst
Bernhard,

On Thu, Jun 16, 2016 at 10:34 AM, Bernhard Kleine [via Lilypond] <
ml-node+s1069038n191686...@n5.nabble.com> wrote:

> I have a hymn which has 8 measures which are alltogether repeated.
> The last two measures are different between the repetitions.
> The text, however, is totally different between the two repitition.
>
> I have not found an example for this. Please give me some hints to set
> the hymn.
>

I think you might get a complaint about not having a "tiny example" or
source file to show how far you've gotten (or at least a picture or
something), but I wonder if you have seen this section:

http://lilypond.org/doc/v2.19/Documentation/notation/techniques-specific-to-lyrics#lyrics-and-repeats

Seems like the subsection "Repeats with alternative endings" might point
you in the right direction.

HTH,
Abraham




--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Song-with-two-different-verses-where-the-melody-differs-but-in-the-last-two-measures-tp191686p191687.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