[prev in list] [next in list] [prev in thread] [next in thread]
List: lilypond-user
Subject: Re: Placing stanza's at repeat
From: Jogchum Reitsma <j.reitsma () hccnet ! nl>
Date: 2022-03-28 9:43:25
Message-ID: 71e82afa-ba7a-0774-f096-3e571d596672 () hccnet ! nl
[Download RAW message or body]
Op 27-03-2022 om 22:33 schreef Carl Sorensen:
> Hi, Jogchum,
>
> Please use Reply All to keep the messages on the user list.
Oeps, not or the first time....
>
> On Sun, Mar 27, 2022 at 1:00 PM Jogchum Reitsma <j.reitsma@hccnet.nl>
> wrote:
>
> Op 27-03-2022 om 20:14 schreef Carl Sorensen:
>>
>>
>> On Sun, Mar 27, 2022 at 10:31 AM Jogchum Reitsma
>> <j.reitsma@hccnet.nl> wrote:
>>
>> Hi,
>>
>> Brahms' Waldesnacht has an intro stanza number one, and after
>> that a
>> twice repeated melody, with stanza's 2 and three.
>>
>>
>>
>> How can I achieves those stanza's to begin at the repeat?
>>
>>
>>
<.snip>
> Not too much time; you already had things set up very well to allow
> the changes to be made easily. It's just easier to see the structure
> if you have fewer notes and lyrics...
>
> So I understand the \set associatedVoice isn't usable for this
> construct.
>
> I'm not sure exactly why the \new Voice = "sopra_repeat" doesn't cause
> the lyrics to start at the beginning of the repeat. I'd guess it has
> to do with having the \new Voice inside an automatically generated
> Voice context (when you put \soprano inside the Staff, a Voice is
> created. And then you create a new Voice inside that
> automatically-created Voice, so I assume things get confused.
>
> I ran a little test to see the differences between using \set
> associatedVoice and \lyricsto. I can make them both work. See the
> attached code. But not that in both cases, I separate the notes from
> the contexts, and I explicitly create my contexts, which I think is
> good practice.
>
> HTH,
>
> Carl;
This works indeed, and also when one changes the associated voice to m2,
and place it in the lyrThree-part:
\version "2.22.1"
musI = \relative {c'4 d e f}
musII = \relative {g'4 a b c}
lyrI = \lyricmode {\set stanza = "1. " One one one one}
lyrII = \lyricmode {\set stanza = "2. " Two two two two}
lyrIII = \lyricmode {\set stanza = "3. " Three three three three}
\score{
<<
\new Staff {
\new Voice = "m1" \musI
\new Voice = "m2" \musII
}
\new Lyrics="lyrOne" {
% \set associatedVoice = "m1"
{ \lyrI
\lyrII }
}
\new Lyrics ="lyrThree" {
\set associatedVoice = "m2"
\lyricsto "m2" { \lyrIII}
}
>> % end of music
\layout{}
} % end of score
As so many times, I learned a lot again. For example, the
#(skip-of-length construct was new to me.
regards, Jogchum
> version "2.22.1"
>
> musI = \relative {c'4 d e f}
> musII = \relative {g'4 a b c}
>
> lyrI = \lyricmode {\set stanza = "1. " One one one one}
> lyrII = \lyricmode {\set stanza = "2. " Two two two two}
> lyrIII = \lyricmode {\set stanza = "3. " Three three three three}
>
> \score{
> <<
> \new Staff {
> \new Voice = "m1" \musI
> \new Voice = "m2" \musII
> }
> \new Lyrics="lyrOne" {
> \set associatedVoice = "m1"
> { \lyrI
> \lyrII }
> }
> \new Lyrics ="lyrThree" {
> \lyricsto "m2" { \lyrIII}
> }
> >> % end of music
> \layout{}
>
> } % end of score
>
> \score{
> <<
> \new Staff <<
> \new Voice = "m1" {\musI \musII}
> \new NullVoice = "m2" {
> #(skip-of-length musI)
> \musII
> }
> >>
>
>
> \new Lyrics="lyrOne" \lyricsto "m1" {
> { \lyrI
> \lyrII }
> }
> \new Lyrics ="lyrThree" {
> \lyricsto "m2" {\set stanza = "3. " \lyrIII}
> }
> >> % end of music
> \layout{}
>
> } % end of score
>
>
[Attachment #3 (text/html)]
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<div class="moz-cite-prefix">Op 27-03-2022 om 22:33 schreef Carl
Sorensen:<br>
</div>
<blockquote type="cite"
cite="mid:CACEw7i_WWUTp3ftzQ-HcZ1ajXdk9xNDMgvYU6gGdKS6hnLzVOw@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div dir="ltr">
<div>Hi, Jogchum,</div>
<div><br>
</div>
<div>Please use Reply All to keep the messages on the user list.</div>
</div>
</blockquote>
Oeps, not or the first time....<br>
<blockquote type="cite"
cite="mid:CACEw7i_WWUTp3ftzQ-HcZ1ajXdk9xNDMgvYU6gGdKS6hnLzVOw@mail.gmail.com">
<div dir="ltr"><br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Sun, Mar 27, 2022 at 1:00
PM Jogchum Reitsma <<a href="mailto:j.reitsma@hccnet.nl"
moz-do-not-send="true" class="moz-txt-link-freetext">j.reitsma@hccnet.nl</a>>
wrote:<br>
</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left:1px solid
rgb(204,204,204);padding-left:1ex">
<div>
<div>Op 27-03-2022 om 20:14 schreef Carl Sorensen:<br>
</div>
<blockquote type="cite">
<div dir="ltr">
<div dir="ltr"><br>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Sun, Mar 27,
2022 at 10:31 AM Jogchum Reitsma <<a
href="mailto:j.reitsma@hccnet.nl"
target="_blank" moz-do-not-send="true"
class="moz-txt-link-freetext">j.reitsma@hccnet.nl</a>>
wrote:<br>
</div>
<blockquote class="gmail_quote" style="margin:0px
0px 0px 0.8ex;border-left:1px solid
rgb(204,204,204);padding-left:1ex">Hi,<br>
<br>
Brahms' Waldesnacht has an intro stanza number
one, and after that a <br>
twice repeated melody, with stanza's 2 and three.<br>
<br>
<br>
<br>
How can I achieves those stanza's to begin at the
repeat?<br>
</blockquote>
<div><br>
<br>
</div>
</div>
</div>
</blockquote>
</div>
</blockquote>
</div>
</div>
</blockquote>
<.snip><br>
<blockquote type="cite"
cite="mid:CACEw7i_WWUTp3ftzQ-HcZ1ajXdk9xNDMgvYU6gGdKS6hnLzVOw@mail.gmail.com">
<div dir="ltr">
<div class="gmail_quote">
<div>Not too much time; you already had things set up very
well to allow the changes to be made easily. It's just
easier to see the structure if you have fewer notes and
lyrics... </div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left:1px solid
rgb(204,204,204);padding-left:1ex">
<div>
<p>So I understand the \set associatedVoice isn't usable
for this construct.</p>
</div>
</blockquote>
<div>I'm not sure exactly why the \new Voice = "sopra_repeat"
doesn't cause the lyrics to start at the beginning of the
repeat. I'd guess it has to do with having the \new Voice
inside an automatically generated Voice context (when you
put \soprano inside the Staff, a Voice is created. And
then you create a new Voice inside that
automatically-created Voice, so I assume things get
confused.</div>
<div><br>
</div>
<div>I ran a little test to see the differences between using
\set associatedVoice and \lyricsto. I can make them both
work. See the attached code. But not that in both cases, I
separate the notes from the contexts, and I explicitly
create my contexts, which I think is good practice.</div>
<div><br>
</div>
<div>HTH,</div>
<div><br>
</div>
<div>Carl;</div>
</div>
</div>
</blockquote>
<p>This works indeed, and also when one changes the associated voice
to m2, and place it in the lyrThree-part:</p>
<p>\version "2.22.1"<br>
<br>
musI = \relative {c'4 d e f}<br>
musII = \relative {g'4 a b c}<br>
<br>
lyrI = \lyricmode {\set stanza = "1. " One one one one}<br>
lyrII = \lyricmode {\set stanza = "2. " Two two two two}<br>
lyrIII = \lyricmode {\set stanza = "3. " Three three three three}</p>
<p>\score{<br>
<<<br>
\new Staff {<br>
\new Voice = "m1" \musI<br>
\new Voice = "m2" \musII<br>
}<br>
\new Lyrics="lyrOne" {<br>
% \set associatedVoice = "m1"<br>
{ \lyrI<br>
\lyrII }<br>
}<br>
\new Lyrics ="lyrThree" {<br>
\set associatedVoice = "m2"<br>
\lyricsto "m2" { \lyrIII}<br>
}<br>
>> % end of music<br>
\layout{}<br>
<br>
} % end of score</p>
<p>As so many times, I learned a lot again. For example, the
#(skip-of-length construct was new to me.</p>
<p>regards, Jogchum<br>
</p>
<blockquote type="cite"
cite="mid:CACEw7i_WWUTp3ftzQ-HcZ1ajXdk9xNDMgvYU6gGdKS6hnLzVOw@mail.gmail.com">
<div dir="ltr">
<div class="gmail_quote">
<div>version "2.22.1"<br>
<br>
musI = \relative {c'4 d e f}<br>
musII = \relative {g'4 a b c}<br>
<br>
lyrI = \lyricmode {\set stanza = "1. " One one one one}<br>
lyrII = \lyricmode {\set stanza = "2. " Two two two two}<br>
lyrIII = \lyricmode {\set stanza = "3. " Three three three
three}<br>
<br>
\score{<br>
<< <br>
\new Staff {<br>
\new Voice = "m1" \musI <br>
\new Voice = "m2" \musII<br>
}<br>
\new Lyrics="lyrOne" {<br>
\set associatedVoice = "m1"<br>
{ \lyrI <br>
\lyrII }<br>
}<br>
\new Lyrics ="lyrThree" {<br>
\lyricsto "m2" { \lyrIII}<br>
}<br>
>> % end of music<br>
\layout{}<br>
<br>
} % end of score<br>
<br>
\score{<br>
<< <br>
\new Staff <<<br>
\new Voice = "m1" {\musI \musII}<br>
\new NullVoice = "m2" {<br>
#(skip-of-length musI)<br>
\musII<br>
}<br>
>><br>
<br>
<br>
\new Lyrics="lyrOne" \lyricsto "m1" {<br>
{ \lyrI <br>
\lyrII }<br>
}<br>
\new Lyrics ="lyrThree" {<br>
\lyricsto "m2" {\set stanza = "3. " \lyrIII}<br>
}<br>
>> % end of music<br>
\layout{}<br>
<br>
} % end of score<br>
</div>
<div><br>
</div>
<div><br>
</div>
</div>
</div>
</blockquote>
<p><br>
</p>
</body>
</html>
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic