Re: Lyrics in polyphony with ties in second voice

2019-10-02 Thread Flaming Hakama by Elaine
On Mon, Sep 30, 2019 at 6:06 PM Carl Sorensen  wrote:

>
>
>
>
> *From: *Flaming Hakama by Elaine 
> *Date: *Sunday, September 29, 2019 at 9:41 PM
> *To: *Lilypond-User Mailing List 
> *Subject: *Lyrics in polyphony with ties in second voice
>
>
>
>
> Hi.
>
> I'm hoping someone can help me figure out how to notate this.
>
> I am creating a lead sheet that has vocal line with lyrics.  Some sections
> have just the melody, and other sections have harmonies under the melody.
>
> In general, I have been having success using this pattern for going into
> and out of polyphony, while keeping the lyrics associated with the melody:
>
> melody = \relative c'' {
> c1 << { \voiceOne d } { b1 } >> | \oneVoice e1 |
> }
>
>
>
>
>
>
> I know that this is not what you asked for, because you want the harmony
> stems to go up.
>
>
>
> But this is the way I set it; I think it’s clearer, because it points out
> the fact that the tied notes need to be handled differently from the melody
> notes.
>
>
>
> \version "2.19.80"
>
>
>
> words = \lyricmode {
>
> One, two and three four
>
> }
>
>
>
> melody = \relative c'' {
>
> \time 3/4
>
> g2.^"Use partcombine and NullVoice" | g8 a f2 ~ | 2. | e2. \bar "|."
>
> }
>
>
>
> harmony =  \relative c'{
>
> \time 3/4
>
> s2. |
>
> 2. ~ | 2.
>
> }
>
>
>
>
>
> combined = \partcombine \melody \harmony
>
>
>
>
>
>
>
>
>
>
>
> \book {
>
> \header { title = "Use partcombine and NullVoice" }
>
> \score {
>
> <<
>
> \new Staff = "upper" \with {
>
>   printPartCombineTexts = ##f
>
> }<<
>
> \new Voice = "lead" {
>
> \combined
>
> }
>
> \new NullVoice = "synch" {
>
>   \melody
>
> }
>
> >>
>
>
>
>\new Lyrics \with { alignAboveContext = "staff" } {
>
>\lyricsto "synch" { \words }
>
> }
>
> >>
>
> \layout {
>
> }
>
> }
>
> }
>
>
>
>
>
>
>
> Carl
>
>
>


Thanks for all the approaches and opinions.

Semantically, I am inclined towards this approach with using a null voice
for the melody, while printing the partcombined voices.

In the end, the only way I was able to get what I want (with the stems
combined) required using and tweaking LVs.



Thanks,

Elaine Alt
415 . 341 .4954   "*Confusion is
highly underrated*"
ela...@flaminghakama.com
Producer ~ Composer ~ Instrumentalist ~ Educator
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Lyrics in polyphony with ties in second voice

2019-09-30 Thread Carl Sorensen


From: Flaming Hakama by Elaine 
Date: Sunday, September 29, 2019 at 9:41 PM
To: Lilypond-User Mailing List 
Subject: Lyrics in polyphony with ties in second voice


Hi.

I'm hoping someone can help me figure out how to notate this.

I am creating a lead sheet that has vocal line with lyrics.  Some sections have 
just the melody, and other sections have harmonies under the melody.

In general, I have been having success using this pattern for going into and 
out of polyphony, while keeping the lyrics associated with the melody:

melody = \relative c'' {
c1 << { \voiceOne d } { b1 } >> | \oneVoice e1 |
}




I know that this is not what you asked for, because you want the harmony stems 
to go up.

But this is the way I set it; I think it’s clearer, because it points out the 
fact that the tied notes need to be handled differently from the melody notes.

\version "2.19.80"

words = \lyricmode {
One, two and three four
}

melody = \relative c'' {
\time 3/4
g2.^"Use partcombine and NullVoice" | g8 a f2 ~ | 2. | e2. \bar "|."
}

harmony =  \relative c'{
\time 3/4
s2. |
2. ~ | 2.
}


combined = \partcombine \melody \harmony





\book {
\header { title = "Use partcombine and NullVoice" }
\score {
<<
\new Staff = "upper" \with {
  printPartCombineTexts = ##f
}<<
\new Voice = "lead" {
\combined
}
\new NullVoice = "synch" {
  \melody
}
>>

   \new Lyrics \with { alignAboveContext = "staff" } {
   \lyricsto "synch" { \words }
}
>>
\layout {
}
}
}



Carl

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


Re: Lyrics in polyphony with ties in second voice

2019-09-30 Thread Knute Snortum
I'm not sure why you'd want that, but oh well...

%%% Start
\version "2.19.83"

words = \lyricmode {
  One, two and three four
}

melody = \relative c'' {
  \time 3/4
  g2. |
  g8 a f2 ~ |
  2. |
  e2.
  \bar "|."
}

harmony = \relative c' {
  \time 3/4
  \voiceOne
  s2. |
  2. _~ |
  2. |
  s2.
  \bar "|."
}

\score {
  <<
\new Staff = "upper" {
  <<
\new Voice = "lead" {
  \melody
}
\new Voice = "harmony" {
  \harmony
}
  >>
}
\new Lyrics \with { alignAboveContext = "staff" } {
  \lyricsto "lead" { \words }
}
  >>
  \layout {
  }
}
%%% End

At some magnifications, the stems don't seem exactly aligned.  Maybe
someone else can fix that.
---
Knute Snortum
(via Gmail)


On Mon, Sep 30, 2019 at 3:40 PM Flaming Hakama by Elaine <
ela...@flaminghakama.com> wrote:

>
>
> On Mon, Sep 30, 2019 at 7:57 AM Knute Snortum  wrote:
>
>> Here's one way to do it:
>>
>> %%% Start
>> \version "2.19.83"
>>
>> words = \lyricmode {
>>   One, two and three four
>> }
>>
>> melody = \relative c'' {
>>   \time 3/4
>>   g2. |
>>   g8 a f2 ~ |
>>   2. |
>>   e2.
>>   \bar "|."
>> }
>>
>> harmony = \relative c' {
>>   \time 3/4
>>   \voiceTwo
>>   s2. |
>>   2. ~ |
>>   2. |
>>   s2.
>>   \bar "|."
>> }
>>
>> \score {
>>   <<
>> \new Staff = "upper" {
>>   <<
>> \new Voice = "lead" {
>>   \melody
>> }
>> \new Voice = "harmony" {
>>   \harmony
>> }
>>   >>
>> }
>> \new Lyrics \with { alignAboveContext = "staff" } {
>>   \lyricsto "lead" { \words }
>> }
>>   >>
>>   \layout {
>>   }
>> }
>> %%% End
>>
>> ---
>> Knute Snortum
>> (via Gmail)
>>
>>
>
> Thanks for the help.
>
> This approach puts the melody and harmony voices into different columns,
> with different stems.
> Is there any way to get them to become realigned, and share stems?
>
>
> Elaine Alt
> 415 . 341 .4954   "*Confusion is
> highly underrated*"
> ela...@flaminghakama.com
> Producer ~ Composer ~ Instrumentalist ~ Educator
>
> -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
>
>
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Lyrics in polyphony with ties in second voice

2019-09-30 Thread Flaming Hakama by Elaine
On Mon, Sep 30, 2019 at 7:57 AM Knute Snortum  wrote:

> Here's one way to do it:
>
> %%% Start
> \version "2.19.83"
>
> words = \lyricmode {
>   One, two and three four
> }
>
> melody = \relative c'' {
>   \time 3/4
>   g2. |
>   g8 a f2 ~ |
>   2. |
>   e2.
>   \bar "|."
> }
>
> harmony = \relative c' {
>   \time 3/4
>   \voiceTwo
>   s2. |
>   2. ~ |
>   2. |
>   s2.
>   \bar "|."
> }
>
> \score {
>   <<
> \new Staff = "upper" {
>   <<
> \new Voice = "lead" {
>   \melody
> }
> \new Voice = "harmony" {
>   \harmony
> }
>   >>
> }
> \new Lyrics \with { alignAboveContext = "staff" } {
>   \lyricsto "lead" { \words }
> }
>   >>
>   \layout {
>   }
> }
> %%% End
>
> ---
> Knute Snortum
> (via Gmail)
>
>

Thanks for the help.

This approach puts the melody and harmony voices into different columns,
with different stems.
Is there any way to get them to become realigned, and share stems?


Elaine Alt
415 . 341 .4954   "*Confusion is
highly underrated*"
ela...@flaminghakama.com
Producer ~ Composer ~ Instrumentalist ~ Educator
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Lyrics in polyphony with ties in second voice

2019-09-30 Thread Knute Snortum
Here's one way to do it:

%%% Start
\version "2.19.83"

words = \lyricmode {
  One, two and three four
}

melody = \relative c'' {
  \time 3/4
  g2. |
  g8 a f2 ~ |
  2. |
  e2.
  \bar "|."
}

harmony = \relative c' {
  \time 3/4
  \voiceTwo
  s2. |
  2. ~ |
  2. |
  s2.
  \bar "|."
}

\score {
  <<
\new Staff = "upper" {
  <<
\new Voice = "lead" {
  \melody
}
\new Voice = "harmony" {
  \harmony
}
  >>
}
\new Lyrics \with { alignAboveContext = "staff" } {
  \lyricsto "lead" { \words }
}
  >>
  \layout {
  }
}
%%% End

---
Knute Snortum
(via Gmail)


On Sun, Sep 29, 2019 at 8:42 PM Flaming Hakama by Elaine <
ela...@flaminghakama.com> wrote:

>
> Hi.
>
> I'm hoping someone can help me figure out how to notate this.
>
> I am creating a lead sheet that has vocal line with lyrics.  Some sections
> have just the melody, and other sections have harmonies under the melody.
>
> In general, I have been having success using this pattern for going into
> and out of polyphony, while keeping the lyrics associated with the melody:
>
> melody = \relative c'' {
> c1 << { \voiceOne d } { b1 } >> | \oneVoice e1 |
> }
>
>
> However, there is one phrase where I can't figure out how to make it work,
> which is when the second voice contains ties.
>
> What I'm after is like the second score--except there should be ties
> between the chords in the second voice in bars 2-3.
> Alternately, like the music in example 6, except with lyrics in the 2nd &
> 3rd bars.
>
>
>
> \version "2.19.80"
>
> words = \lyricmode {
> One, two and three four
> }
>
> melody = \relative c'' {
> \time 3/4
> g2.^"1. Just melody - missing harmony" | g8 a f2 ~ | 2. | e2. \bar "|."
> }
>
> melodyHarmonizedNoTies = \relative c'' {
> \time 3/4
> g2.^"2. Harmonized, no ties: missing ties in voice 2"
> <<
> \relative c'' { \voiceOne g8 a f2 ~ | 2. }
> \relative c' { 2. | 2. }
> >> | \oneVoice
> e2.
> \bar "|."
> }
>
>
> melodyHarmonizedWithTies = \relative c'' {
> \time 3/4
> g2.^"3. Harmonized with ties: lyrics do not follow voice 1, and ties
> are missing in voice 2"
> <<
> \relative c'' { \voiceOne g8 a f2 ~ | 2. }
> \relative c' { 2. ~ | 2. }
> >> | \oneVoice
> e2.
> \bar "|."
> }
>
> melodyHarmonizedLV = \relative c'' {
> \time 3/4
> g2.^"4. Harmonized, LV in voice 2: Extra LV in voice 1"
> <<
> \relative c'' { \voiceOne g8 a f2 ~ | 2. }
> \relative c' { 2. \laissezVibrer | 2. }
> >> | \oneVoice
> e2.
> \bar "|."
> }
>
>
> melodyHarmonizedSlashNoTies = \relative c'' {
> \time 3/4
> g2.^"5. Slash, no ties: missing lyrics in voice 1 and missing ties in
> voice 2"
> <<
> \relative c'' { \voiceOne g8 a f2 ~ | 2. } \\
> \relative c' { 2. | 2. }
> >> | \oneVoice
> e2.
> \bar "|."
> }
>
>
> melodyHarmonizedSlashWithTies = \relative c'' {
> \time 3/4
> g2.^"6. Slash with ties: lyrics do not follow voice 1"
> <<
> \relative c'' { \voiceOne g8 a f2 ~ | 2. } \\
> \relative c' { 2. ~ | 2. }
> >> | \oneVoice
> e2.
> \bar "|."
> }
>
> melodyHarmonizedSlashLV = \relative c'' {
> \time 3/4
> g2.^"7. Slash, LV in voice 2: lyrics do not follow voice 1"
> <<
> \relative c'' { \voiceOne g8 a f2 ~ | 2. } \\
> \relative c' { 2. \laissezVibrer | 2. }
> >> | \oneVoice
> e2.
> \bar "|."
> }
>
>
>
> \book {
> \header { title = "MWE: lyrics in voice 1 with tied notes in voice 2"
> }
> \score {
> <<
> \new Staff = "upper" {
> \new Voice = "lead" {
> \melody
> }
> }
> \new Lyrics \with { alignAboveContext = "staff" } {
> \lyricsto "lead" { \words }
> }
> >>
> \layout {
> }
> }
>
> \score {
> <<
> \new Staff = "upper" {
> \new Voice = "lead" {
> \melodyHarmonizedNoTies
> }
> }
> \new Lyrics \with { alignAboveContext = "staff" } {
> \lyricsto "lead" { \words }
> }
> >>
> \layout {
> }
> }
>
> \score {
> <<
> \new Staff = "upper" {
> \new Voice = "lead" {
> \melodyHarmonizedWithTies
> }
> }
> \new Lyrics \with { alignAboveContext = "staff" } {
> \lyricsto "lead" { \words }
> }
> >>
> \layout {
> }
> }
>
>
> \score {
> <<
> \new Staff = "upper" {
> \new Voice = "lead" {
> \melodyHarmonizedLV
> }
> }
> \new Lyrics \with { alignAboveContext = "staff" } {
> \lyricsto "lead" { \words }
> 

Lyrics in polyphony with ties in second voice

2019-09-29 Thread Flaming Hakama by Elaine
Hi.

I'm hoping someone can help me figure out how to notate this.

I am creating a lead sheet that has vocal line with lyrics.  Some sections
have just the melody, and other sections have harmonies under the melody.

In general, I have been having success using this pattern for going into
and out of polyphony, while keeping the lyrics associated with the melody:

melody = \relative c'' {
c1 << { \voiceOne d } { b1 } >> | \oneVoice e1 |
}


However, there is one phrase where I can't figure out how to make it work,
which is when the second voice contains ties.

What I'm after is like the second score--except there should be ties
between the chords in the second voice in bars 2-3.
Alternately, like the music in example 6, except with lyrics in the 2nd &
3rd bars.



\version "2.19.80"

words = \lyricmode {
One, two and three four
}

melody = \relative c'' {
\time 3/4
g2.^"1. Just melody - missing harmony" | g8 a f2 ~ | 2. | e2. \bar "|."
}

melodyHarmonizedNoTies = \relative c'' {
\time 3/4
g2.^"2. Harmonized, no ties: missing ties in voice 2"
<<
\relative c'' { \voiceOne g8 a f2 ~ | 2. }
\relative c' { 2. | 2. }
>> | \oneVoice
e2.
\bar "|."
}


melodyHarmonizedWithTies = \relative c'' {
\time 3/4
g2.^"3. Harmonized with ties: lyrics do not follow voice 1, and ties
are missing in voice 2"
<<
\relative c'' { \voiceOne g8 a f2 ~ | 2. }
\relative c' { 2. ~ | 2. }
>> | \oneVoice
e2.
\bar "|."
}

melodyHarmonizedLV = \relative c'' {
\time 3/4
g2.^"4. Harmonized, LV in voice 2: Extra LV in voice 1"
<<
\relative c'' { \voiceOne g8 a f2 ~ | 2. }
\relative c' { 2. \laissezVibrer | 2. }
>> | \oneVoice
e2.
\bar "|."
}


melodyHarmonizedSlashNoTies = \relative c'' {
\time 3/4
g2.^"5. Slash, no ties: missing lyrics in voice 1 and missing ties in
voice 2"
<<
\relative c'' { \voiceOne g8 a f2 ~ | 2. } \\
\relative c' { 2. | 2. }
>> | \oneVoice
e2.
\bar "|."
}


melodyHarmonizedSlashWithTies = \relative c'' {
\time 3/4
g2.^"6. Slash with ties: lyrics do not follow voice 1"
<<
\relative c'' { \voiceOne g8 a f2 ~ | 2. } \\
\relative c' { 2. ~ | 2. }
>> | \oneVoice
e2.
\bar "|."
}

melodyHarmonizedSlashLV = \relative c'' {
\time 3/4
g2.^"7. Slash, LV in voice 2: lyrics do not follow voice 1"
<<
\relative c'' { \voiceOne g8 a f2 ~ | 2. } \\
\relative c' { 2. \laissezVibrer | 2. }
>> | \oneVoice
e2.
\bar "|."
}



\book {
\header { title = "MWE: lyrics in voice 1 with tied notes in voice 2" }
\score {
<<
\new Staff = "upper" {
\new Voice = "lead" {
\melody
}
}
\new Lyrics \with { alignAboveContext = "staff" } {
\lyricsto "lead" { \words }
}
>>
\layout {
}
}

\score {
<<
\new Staff = "upper" {
\new Voice = "lead" {
\melodyHarmonizedNoTies
}
}
\new Lyrics \with { alignAboveContext = "staff" } {
\lyricsto "lead" { \words }
}
>>
\layout {
}
}

\score {
<<
\new Staff = "upper" {
\new Voice = "lead" {
\melodyHarmonizedWithTies
}
}
\new Lyrics \with { alignAboveContext = "staff" } {
\lyricsto "lead" { \words }
}
>>
\layout {
}
}


\score {
<<
\new Staff = "upper" {
\new Voice = "lead" {
\melodyHarmonizedLV
}
}
\new Lyrics \with { alignAboveContext = "staff" } {
\lyricsto "lead" { \words }
}
>>
\layout {
}
}


\score {
<<
\new Staff = "upper" {
\new Voice = "lead" {
\melodyHarmonizedSlashNoTies
}
}
\new Lyrics \with { alignAboveContext = "staff" } {
\lyricsto "lead" { \words }
}
>>
\layout {
}
}

\score {
<<
\new Staff = "upper" {
\new Voice = "lead" {
\melodyHarmonizedSlashWithTies
}
}
\new Lyrics \with { alignAboveContext = "staff" } {
\lyricsto "lead" { \words }
}
>>
\layout {
}
}


\score {
<<
\new Staff = "upper" {
\new Voice = "lead" {
\melodyHarmonizedSlashLV
}
}
\new Lyrics \with { alignAboveContext = "staff" } {
\lyricsto "lead" { \words }
 

Lyrics and polyphony

2012-01-04 Thread Benjamin Bruce
\version 2.12.2
{
c' a4 e' c' g' e' b' g'  { b'1 } \\ { g'4( f' e'2) } 
}
\addlyrics { 
Ex -- cel -- lent Thy name! % The last word does not appear
}

Hello all!
I have a question concerning lyrics and polyphony. I have looked through the
Snippet Repository, but came up with nothing. 

The music I am typesetting is four-part harmony, and for the most part each part
has the same note durations, and entering them as chords makes sense. However,
in a few places they differ, and while I have figured out how to make the notes
look correctly within angle brackets   (see above) the lyrics will not stick
to this part of the music (I guess because I made a new context). Is there a way
to have the lyrics work with this setup? Or perhaps is there an altogether
different way I should go about this?

Thanks!


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


Re: Lyrics and polyphony

2012-01-04 Thread James
Hello,

On 4 January 2012 18:28, Benjamin Bruce e-m...@benjaminbruce.com wrote:
 \version 2.12.2
 {
        c' a4 e' c' g' e' b' g'  { b'1 } \\ { g'4( f' e'2) } 
 }
 \addlyrics {
        Ex -- cel -- lent Thy name! % The last word does not appear
 }

 Hello all!
 I have a question concerning lyrics and polyphony. I have looked through the
 Snippet Repository, but came up with nothing.

 The music I am typesetting is four-part harmony, and for the most part each 
 part
 has the same note durations, and entering them as chords makes sense. However,
 in a few places they differ, and while I have figured out how to make the 
 notes
 look correctly within angle brackets   (see above) the lyrics will not 
 stick
 to this part of the music (I guess because I made a new context). Is there a 
 way
 to have the lyrics work with this setup? Or perhaps is there an altogether
 different way I should go about this?


I don't know much about lyrics but I think this might be the place in the doc

http://lilypond.org/doc/v2.14/Documentation/notation/techniques-specific-to-lyrics#divisi-lyrics

regards

-- 
--

James

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


Re: Lyrics and polyphony

2012-01-04 Thread Matthew Collett
On 5/01/2012, at 7:28 am, Benjamin Bruce wrote:

 \version 2.12.2
 {
   c' a4 e' c' g' e' b' g'  { b'1 } \\ { g'4( f' e'2) } 
 }
 \addlyrics { 
   Ex -- cel -- lent Thy name! % The last word does not appear
 }

The problem is that the double backslash automagically creates _two_ new 
voices; you only want one, with the other being a continuation of the original 
voice.  The solution is to create the new voice explicitly:

{
c' a4 e' c' g' e' b' g'  {\voiceOne b'1 } \new Voice { 
\voiceTwo g'4( f' e'2) } 
}
\addlyrics { 
Ex -- cel -- lent Thy name! % The last word does now appear
}

(The \voiceOne and \voiceTwo don't affect the lyrics, only the note stems.)

 The music I am typesetting is four-part harmony

In that case, personally, I'd write it as four parts rather than as chords. 

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


Re: Lyrics and polyphony

2012-01-04 Thread Carl Sorensen


On 1/4/12 11:28 AM, Benjamin Bruce e-m...@benjaminbruce.com wrote:

\version 2.12.2
{
   c' a4 e' c' g' e' b' g'  { b'1 } \\ { g'4( f' e'2) } 
}
\addlyrics { 
   Ex -- cel -- lent Thy name! % The last word does not appear
}

Hello all!
I have a question concerning lyrics and polyphony. I have looked through
the
Snippet Repository, but came up with nothing.

The music I am typesetting is four-part harmony, and for the most part
each part
has the same note durations, and entering them as chords makes sense.
However,
in a few places they differ, and while I have figured out how to make the
notes
look correctly within angle brackets   (see above) the lyrics will
not stick
to this part of the music (I guess because I made a new context). Is
there a way
to have the lyrics work with this setup? Or perhaps is there an altogether
different way I should go about this?

Please see the Notation Reference, section 1.5.2.  In particular, look at
Temporary polyphonic passages.

And may I invite you to consider upgrading to 2.14?  It's better than 2.12
in a number of ways.

HTH,

Carl


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


Re: Lyrics and polyphony

2012-01-04 Thread Xavier Scheuer
On 4 January 2012 23:32, Carl Sorensen c_soren...@byu.edu wrote:

 Please see the Notation Reference, section 1.5.2.  In particular, look at
 Temporary polyphonic passages.

This problem pops up often.  I remember having replied to dozens of e-mails
—both on the French users mailing list and on lilypond-user— from
confused users about this.  This is indeed explained in the notation
reference that

  [The  {...} \\ {...}  construct] behaves differently to the
  similar construct without the double backslashes: all the expressions
  within this construct are assigned to new Voice contexts.

but could it be added that this implies the (dynamic) spanners, lyrics
associated to voice, etc. cannot be used from outside to inside the
 {...} \\ {...}  construct (and vice versa)?
And would it be possible to put a warning box or so around this?
Maybe we could add also a similar warning in the learning manual,
LM 3.2.1 I’m hearing Voices.

What do you think?  James?

Of course the best would be to solve issue #1316 …
http://code.google.com/p/lilypond/issues/detail?id=1316

Cheers,
Xavier

-- 
Xavier Scheuer x.sche...@gmail.com

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


Re: Lyrics and polyphony

2012-01-04 Thread James
Hello,

On 4 January 2012 22:50, Xavier Scheuer x.sche...@gmail.com wrote:
 On 4 January 2012 23:32, Carl Sorensen c_soren...@byu.edu wrote:

 Please see the Notation Reference, section 1.5.2.  In particular, look at
 Temporary polyphonic passages.

 This problem pops up often.  I remember having replied to dozens of e-mails
 —both on the French users mailing list and on lilypond-user— from
 confused users about this.  This is indeed explained in the notation
 reference that

  [The  {...} \\ {...}  construct] behaves differently to the
  similar construct without the double backslashes: all the expressions
  within this construct are assigned to new Voice contexts.

 but could it be added that this implies the (dynamic) spanners, lyrics
 associated to voice, etc. cannot be used from outside to inside the
  {...} \\ {...}  construct (and vice versa)?
 And would it be possible to put a warning box or so around this?
 Maybe we could add also a similar warning in the learning manual,
 LM 3.2.1 I’m hearing Voices.

 What do you think?  James?

For now I've created

http://code.google.com/p/lilypond/issues/detail?id=2179

Regards


-- 
--

James

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


Re: lyrics and polyphony

2007-10-23 Thread Michael Lauer
Charles Gran sonance at campdeadly.com writes:

 
 [I tried resarching this topic on the list archive but most related 
 topics are too extensive for me to sort out.]
 
 In a choral piece, I have a part that tempoarily divides into (single-
 line) polyphony.  How do I handle lyrics at this point?
 

Don't use the  ... \\ ...  construct; it creates two new voices,
neither of which your lyrics will follow.  You can, however, do this:

tenornotes = \relative c' { \clef G_8 r1 | 
r4 
 { \voiceOne c4^\markup { div. } c \oneVoice } 
   \new Voice { \voiceTwo c8 b a4 }  
   r | 
   r2^\markup { unis. } a2\fermata | 
   a4( g fis8 f) e( b') | a1 | }

That is, you introduce a parallel section (with no \\), keep 
the original voice in one branch, and create a new voice for 
the other branch.  

Good luck,
Michael




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


lyrics and polyphony

2007-10-22 Thread Charles Gran
[I tried resarching this topic on the list archive but most related 
topics are too extensive for me to sort out.]

In a choral piece, I have a part that tempoarily divides into (single-
line) polyphony.  How do I handle lyrics at this point?

Charles


The format of the score is outlined below:


\version 2.10.33
\header {...}
}

global = {
  \key a \minor
  \time 4/4
}

sopranonotes = \relative c' {...}

sopranowords = \lyricmode {...}
  
altonotes = \relative c' {...}

altowords = \lyricmode {...}

tenornotes = \relative c' {...}
  
tenorwords = \lyricmode {...}

bassnotes = \relative c' {...}
  
basswords = \lyricmode {...}

\score{
  \context ChoirStaff
  
\context Staff = soprano 
  \context Voice = sop {  \global \sopranonotes  }
  \lyricsto sop \new Lyrics \sopranowords

\context Staff = alto 
  \context Voice = alt {  \global \altonotes  }
  \lyricsto alt \new Lyrics \altowords

\context Staff = tenor 
  \context Voice = ten {  \global \tenornotes  }
  \lyricsto ten \new Lyrics \tenorwords

\context Staff = bass 
  \context Voice = bas {  \global \bassnotes  }
  \lyricsto bas \new Lyrics \basswords

  


\layout {
  \context {
% a little smaller so lyrics can be closer to the staff. 
\Staff
\override VerticalAxisGroup #'minimum-Y-extent = #'(-3 . 3) 
}
}

}



-- 
http://www.campdeadly.com
http://www.campdeadly.com/blog



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


Re: lyrics and polyphony

2007-10-22 Thread Charles Gran
This example attached:

\version 2.10.33
\header { }
}

global = {
  \key a \minor
  \time 4/4
}

sopranonotes = \relative c' { r1 r r r r }

sopranowords = \lyricmode { }
  
altonotes = \relative c' { r1 r r r r}

altowords = \lyricmode { }

tenornotes = \relative c' { \clef G_8 r1 | r4  { c4^\markup { 
div. } c } \\ { c8 b a4 }  r | r2^\markup { unis. } a2\fermata | 
a4( g fis8 f) e( b') | a1 | }
  
tenorwords = \lyricmode { Not yet, not yet, not __ yet! }

bassnotes = \relative c' { \clef bass r1 r r r r }
  
basswords = \lyricmode { }

\score{
  \context ChoirStaff
  
\context Staff = soprano 
  \context Voice = sop {  \global \sopranonotes  }
  \lyricsto sop \new Lyrics \sopranowords

\context Staff = alto 
  \context Voice = alt {  \global \altonotes  }
  \lyricsto alt \new Lyrics \altowords

\context Staff = tenor 
  \context Voice = ten {  \global \tenornotes  }
  \lyricsto ten \new Lyrics \tenorwords

\context Staff = bass 
  \context Voice = bas {  \global \bassnotes  }
  \lyricsto bas \new Lyrics \basswords

  


\layout {
  \context {
% a little smaller so lyrics can be closer to the staff. 
\Staff
\override VerticalAxisGroup #'minimum-Y-extent = #'(-3 . 3) 
}
}

}

The following section of this message contains a file attachment
prepared for transmission using the Internet MIME message format.
If you are using Pegasus Mail, or any other MIME-compliant system,
you should be able to save it or view it from within your mailer.
If you cannot, please ask your system administrator for assistance.

    File information ---
 File:  post.ly
 Date:  22 Oct 2007, 19:44
 Size:  1351 bytes.
 Type:  Unknown


post.ly
Description: Binary data
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Tip: lyrics with polyphony / stem directions (without specifically instantiated voices)

2007-08-30 Thread Mats Bengtsson
Looking back at the section on Explicitly instantiating voices, I now 
notice that
more or less the same idea is already used, but with different shapes of 
the note

heads instead of using different colors. The example also shows the use of
explicit \voiceOne, \voiceTwo and  \oneVoice commands.

Mark, what do you say? Is the current example in the manual too complex so
that the main points are not clear enough? Should we replace that example
by Kieren's?

(For the record, there are plenty of answers to similar questions in the 
mailing list
archives, that show exactly the same construct. I'm surprised that you 
didn't find

them.)

  /Mats

Mats Bengtsson wrote:
Excellent idea! I will add something like this to the manual, extended 
with
yet another example that shows how to manually specify \voiceOne and 
so on.


  /Mats

Kieren MacMillan wrote:

Hi Mark,


It looks like there is a solution to the problem


Glad it worked!

perhaps people in the past just didn't understand the questions of 
the people asking properly . . .


Perhaps... that's why I kept trying to clarify what question you were 
really asking, so that I could answer the question you were really 
asking!  =)


Graham: may I suggest one thing that might help the docs? In 6.3 
(especially .4, Explicitly instantiating voices), maybe if the notes 
in each Voice context were independently (i.e., differently) 
coloured, the examples (and thus the constructs and internal Lilypond 
mechanisms) would be even more clear immediately?


For an example, see the attached snippet.

Best regards,
Kieren.
___

\version 2.11.30

\markup \wordwrap { At first it may be difficult to understand why 
the three C notes are not tied in the following example: }

\score
{
\new Staff \relative c''
{
c ~  { c ~ } \\ { a }  c   }
}

\markup \wordwrap { By colouring the main Voice red, the problem 
becomes clear: }

\score
{
\new Staff \relative c''
{
\override Voice.NoteHead #'color = #red
c ~  { c ~ } \\ { a }  c
}
}

\markup \wordwrap
{
Within the \typewriter { \\\ } polyphony section, two 
completely new Voice contexts, independent from the main Voice, have 
been constructed automatically by Lilypond. There are several ways to 
compensate for this instantiation, but the easiest is simply to avoid 
the \typewriter { \\\  } construct entirely — within the   
construct, any notes before an explicit \typewriter { \\new Voice } 
command will belong to the main Voice context (i.e., the one 
“outside” the polyphony):

}
\score
{
\new Staff \relative c''
{
\override Voice.NoteHead #'color = #red
c ~  { c ~ } \new Voice { a }  c
}
}



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




--
=
Mats Bengtsson
Signal Processing
Signals, Sensors and Systems
Royal Institute of Technology
SE-100 44  STOCKHOLM
Sweden
Phone: (+46) 8 790 8463 
   Fax:   (+46) 8 790 7260
Email: [EMAIL PROTECTED]
WWW: http://www.s3.kth.se/~mabe
=



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


color in the manual (was: Tip: lyrics with polyphony / stem directions (without specifically instantiated voices))

2007-08-30 Thread Graham Percival
I'm not overly enthusiastic about adding color to the manual: I'm not 
certain how it will look in a printed pdf (many people print the docs) 
or in the info files.  We obviously need to use color in the doc section 
about color, and the red staff-lines in Ancient notation will show up as 
black anyway in print, but I'm worried about adding color to the main 
manual.


Would it be possible to find noteheads that are more easily 
distinguishable?  Or perhaps making the example bigger?


...

Actually, I think the best solution is to move the basic explanation 
about polyphony out of the manual and into the tutorial.  I have no 
problem with using bigger staff sizes in the tutorial, and I have less 
concerns about using color in there.  Also, that's the place for the 
basic explanations.


Anybody feel like writing a wordy explanation about polyphony?  It could 
either replace/add to  2.3.4, or we could add a new subsection after 
2.3.5 for this explanation.  Feel free to plunder material from 6.3.3.  
(if you do, please let me know before you start writing)


I don't mind doing this myself; I'm just asking in case Kieren is 
excited about this topic.  It would be a nice way to start working on 
the docs.  :)


Cheers,
- Graham


Mats Bengtsson wrote:
Excellent idea! I will add something like this to the manual, extended 
with
yet another example that shows how to manually specify \voiceOne and 
so on.


  /Mats

Kieren MacMillan wrote:

Hi Mark,


It looks like there is a solution to the problem


Glad it worked!

perhaps people in the past just didn't understand the questions of 
the people asking properly . . .


Perhaps... that's why I kept trying to clarify what question you were 
really asking, so that I could answer the question you were really 
asking!  =)


Graham: may I suggest one thing that might help the docs? In 6.3 
(especially .4, Explicitly instantiating voices), maybe if the notes 
in each Voice context were independently (i.e., differently) 
coloured, the examples (and thus the constructs and internal Lilypond 
mechanisms) would be even more clear immediately?


For an example, see the attached snippet.

Best regards,
Kieren.
___

\version 2.11.30

\markup \wordwrap { At first it may be difficult to understand why 
the three C notes are not tied in the following example: }

\score
{
\new Staff \relative c''
{
c ~  { c ~ } \\ { a }  c   }
}

\markup \wordwrap { By colouring the main Voice red, the problem 
becomes clear: }

\score
{
\new Staff \relative c''
{
\override Voice.NoteHead #'color = #red
c ~  { c ~ } \\ { a }  c
}
}

\markup \wordwrap
{
Within the \typewriter { \\\ } polyphony section, two 
completely new Voice contexts, independent from the main Voice, have 
been constructed automatically by Lilypond. There are several ways to 
compensate for this instantiation, but the easiest is simply to avoid 
the \typewriter { \\\  } construct entirely — within the   
construct, any notes before an explicit \typewriter { \\new Voice } 
command will belong to the main Voice context (i.e., the one 
“outside” the polyphony):

}
\score
{
\new Staff \relative c''
{
\override Voice.NoteHead #'color = #red
c ~  { c ~ } \new Voice { a }  c
}
}



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






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


Re: color in the manual (was: Tip: lyrics with polyphony / stem directions (without specifically instantiated voices))

2007-08-30 Thread Kieren MacMillan

Hi Graham,


Anybody feel like writing a wordy explanation about polyphony?


I think I can handle that.  =)

Best,
Kieren.


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


Re: Tip: lyrics with polyphony / stem directions (without specifically instantiated voices)

2007-08-30 Thread Mark Dewey

Mats Bengtsson wrote:
. . .

Mark, what do you say? Is the current example in the manual too complex so
that the main points are not clear enough? Should we replace that example
by Kieren's?


I didn't mean to imply anything about the documentation earlier.

But, since you asked . . .

Perhaps Kieren's example would be helpful instead.  I'm not exactly sure.  I'm 
colorblind, though (slightly), so I don't know how much adding the color would 
help me specifically.  I think hints like color, size, and shape only help some 
people, and only in some circumstances.  For me, in this case, I think a 
detailed explanation would be better.

It's not 'usually' the complexity of the documentation that causes problems for 
me.  It's normally just matters of syntax, what relates to what, and what means 
what  that I need clarification on (i.e. little specific details of how things 
are implemented).  I like details and specifics a lot (so a detailed 
explanation isn't something I consider complicated, though I'm sure that's not 
what you meant).  A nested explanation might be something I'd consider 
complicated.

For instance, the documentation says this:
. . .
 \upper \\ \lower 
is equivalent to

 \new Voice = 1 { \voiceOne \upper}
 \new Voice = 2 { \voiceTwo \lower}




I think the \upper and \lower thing in the documentation is syntactically 
confusing, without specifically saying they represent the notes there, seeing 
as \upper and \lower are also used in the piano staff context, as people will 
actually try to put \upper and \lower in their code (without instantiating 
them).

I would recommend either replacing these with notes directly, or showing their instantiation above 
the example (and explaining the significance of the voice names 1 and 2; 
plus, a mention of when/why it is good to leave them out would be nice—maybe it's already mentioned 
somewhere else, and if so, perhaps I might recommend pointing us there from here).

I might recommend adding an example like this somewhere below that:
{\voiceOne (upper notes here)} \new Voice {\voiceTwo (lower notes here)} 
\oneVoice
is the preferred way over
{(upper notes here)} \\ {(lower notes here)}
for polyphonic chords used with lyrics, since the \\ method automatically gives the names 1 and 
2 to the voices, which are not the names of the voice the lyrics are following (i.e. 
sopranos, etc.)

Where to look for what, in the documentation generally, is also an issue at 
times.  I might recommend giving us some tips on how to find things (generally 
speaking), and how to glean information, as it seems to be easier for you.

All in all, though, I didn't mean to bring up the documentation, myself.  It 
normally works well for me in connection with the forums—lately, at least.  I 
understand if you don't want to put this in the documentation (that's fine with 
me)—after all, it is on the forums now in a way people who think like me could 
find it.

(For the record, there are plenty of answers to similar questions in the 
mailing list
archives, that show exactly the same construct. I'm surprised that you 
didn't find them.)


I only found such as the links I included in one of the earlier posts of this 
thread (but I only made a few different search criteria: i.e. polyphony lyrics, 
and . . . I forgot what else).  I didn't bother to look further since one of 
the threads I saw made it look like a known issue that we just had to deal with 
(and that's another reason I didn't look at the manual further; I had no reason 
to believe I could find anything more on the subject there, because of what I 
saw in the threads).

It's possible that I saw the answers/questions you mentioned, but thought they 
were talking about something else, or something irrelevant.  I mean, it could 
have been a matter of semantics.  People are easy to misunderstand (especially 
when they talk about familiar things with unfamiliar terminology).

As long as I know what I want, though, the clarity of the documentation isn't a 
'huge' deal for me, seeing as I don't view documentation in the same light as a 
tutorial (I mean, it seems more for advanced reference than a teaching aid for 
new and semi-intermediate users).  I'm at a point where things are becoming 
more clear and using the documentation for reference isn't that bad 
(understanding how voices works helps a lot for this; I think this is probably 
one of the most important sections to make clear, and add detail).  I mean, the 
documentation seems to require a certain amount of knowledge about LilyPond in 
order to learn (some sections more than others) as sometimes answers are given 
using principles the learner may not have learned yet.

Documentation isn't something I generally expect to read through in a linear 
fashion (usually I use it more on a want/need-to-know basis), while a tutorial 
or a textbook is.  Is one supposed to read the documentation in a linear 
fashion?  I don't know, personally, but the knowledge would

Re: Tip: lyrics with polyphony / stem directions (without specifically instantiated voices)

2007-08-30 Thread Graham Percival

Mark Dewey wrote:
I think the \upper and \lower thing in the documentation is 
syntactically confusing, without specifically saying they represent 
the notes there,


I would recommend either replacing these with notes directly, or 
showing their instantiation above the example (and explaining the 
significance of the voice names 1 and 2; plus, a mention of 
when/why it is good to leave them out would be nice—maybe it's already 
mentioned somewhere else, and if so, perhaps I might recommend 
pointing us there from here).
Let me preface my remarks by stating that the tutorial has been 
completely rewritten in 2.11; if you haven't seen the 2.11 docs, you'll 
have missed this.


See 2.5.4 Organizing pieces with identifiers.  We can't explain all the 
material in the tutorial throughout the rest of the manual; chapter 3 
and onwards (especially chapter 6 and up!) assumes that you are familiar 
with the material in chapter 2.


Where to look for what, in the documentation generally, is also an 
issue at times.  I might recommend giving us some tips on how to find 
things (generally speaking), and how to glean information, as it seems 
to be easier for you.
1.6 is a bit out of date, but it's still a good start.  I'll update that 
later tonight.  2.5.6 How to read the manual  doesn't discuss where to 
find things, although such material could be added there.


I'm not certain it's worth adding stuff to 2.5.6, though.  If people 
don't notice 1.6, then...
All in all, though, I didn't mean to bring up the documentation, 
myself.  It normally works well for me in connection with the 
forums—lately, at least.  I understand if you don't want to put this 
in the documentation (that's fine with me)—after all, it is on the 
forums now in a way people who think like me could find it.
People don't search the mailist archives.  In addition, if everybody has 
to ask stuff here, we have to explain everything all the time.


That's the reason I started working on the docs: I was answering the 
same questions again and again.  I decided that I would never answer a 
question directly (with anything other than a polite RTFM); instead, I 
would spend

that time improving the docs so that the next person didn't have to ask.

Cheers,
- Graham


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


Tip: lyrics with polyphony / stem directions (without specifically instantiated voices)

2007-08-29 Thread Mark Dewey

I've discovered a number of threads on this topic (how lyrics don't work when you use such 
as {a' b'} \\ { c' d'}.  I didn't seem to have trouble with lyrics in my 
early days of trying this . . . (but, maybe then I was just focusing on the music, before 
putting the lyrics in; whatever the case, I ended up not using them for another reason).  
Anyway, I've come across a situation where I needed to have this (i.e. stem directions 
pointing different ways on the same note, only a few times).  So . . . I looked through the 
LilyPond discussion and found various things, none of which in and of themselves provided a 
satisfactory solution (although they helped me come up with what follows).

Anyway, I found a way that works better for me (although it requires adjusting 
if you need to change the system width).  I did, however, discover a solution.

Basically, I just used underscores to make one word look like two, and I 
re-aligned the lyrics to make them shift over in the right direction.  This 
makes it look fine (although it would be nice if they made some way to have 
differing stem directions in the same chord without having multiple voices, on 
a chord by chord basis, rather than all of them that follow).

So, here's the code:
In the lyrics area:
\once \override Score . LyricText #'self-alignment-X = #-1
Iam \skip 1

(the skip is for the note without lyrics; 'am' overlaps onto it so it looks 
like it belongs there; the number of underscores may vary significantly, and 
also the integer assigned with the override up there, depending on the 
direction it needs to shift: i.e. -1, 1, 0, etc.)

Here's the note code I used for the spot to put the lyrics over:
{f'4.} \\ {f'4.}

It takes a little tweaking, but it works better and faster than anything else 
I've tried (it's not always practical to have multiple voices, especially when 
your number of staffs changes in the middle of the song, at least in certain 
ways, and you only want one midi for the song).  Anyway, this is just a tip for 
those needing a solution to this, since there are many I've seen asking the 
question.

I don't suppose they're planning to make a more standard solution, yet, are 
they?  I would personally suggest just adding a tweak to chords (rather than 
messings with voices) to add the ability to make the stems go in opposing 
directions (it's not the durations that matter so much).  Something simple like 
this:
\stemUp f' \stemDown f'4
or
\stemUp c'' a' \stemDown f' (This would signify that both c'' and a' were up, 
on the same stem, and only f' was down.  Making it so multiple up stems appeared 
would be bad, I think, in a chord context like this.  I don't think the middle notes 
should be able to go against both the top and the bottom, in this context.)



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


Re: Tip: lyrics with polyphony / stem directions (without specifically instantiated voices)

2007-08-29 Thread Kieren MacMillan

Hi Mark:

I've discovered a number of threads on this topic (how lyrics don't  
work when you use such as {a' b'} \\ { c' d'}


I'm not sure what you mean by lyrics don't work -- have you tried

 { a' b' } \new Voice { c' d' } 

instead of

 { a' b' } \\ { c' d' } 

That works perfectly for me in every situation I've run into.
In other words, in what circumstance would you *not* want to  
specifically instantiate the extra Voice context(s)?


If this doesn't solve the problem you're talking about, please post a  
minimal code example, so we (I) can see what you're talking about.


Hope this helps,
Kieren.


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


Re: Tip: lyrics with polyphony / stem directions (without specifically instantiated voices)

2007-08-29 Thread Kieren MacMillan

Hi Mark,

By saying the lyrics don't work, I mean the lyrics skip the  
'polyphonic' notes.


Sorry, I must be dense here...  =\

Please tell me what behaviour you find unexpected in the attached  
snippet (note that the lyrics clearly DO NOT skip the 'polyphonic  
notes') -- that way, I'll know exactly what you're talking about, and  
might be able to be of more help.


Thanks,
Kieren.
_

\version 2.11.30

theMusic = \relative c'
{
e4 d c2 |
e4 d c2 |

{
\voiceOne
g'4 f8. f16 e2 |
g4 f8. f16 e2
}
\new Voice
{
\voiceTwo
e4 d c2 |
e4 d c2
}
 \oneVoice
}

theWords = \lyricmode
{
Three blind mice, three blind mice,
See how they run, see how they run.
}

\score
{

\new Voice = singer \theMusic
\new Lyrics \lyricsto singer \theWords

}


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


Re: Tip: lyrics with polyphony / stem directions (without specifically instantiated voices)

2007-08-29 Thread Mark Dewey

Kieren MacMillan wrote:
. . .
Please tell me what behaviour you find unexpected in the attached 
snippet (note that the lyrics clearly DO NOT skip the 'polyphonic 
notes') -- that way, I'll know exactly what you're talking about, and 
might be able to be of more help.

. . .

Your example looks perfectly fine, and I see no unexpected results.

At first I thought this would cause problems when used inside of another 
context, but, you do something new to me I haven't seen suggested with this 
before (\oneVoice, and no \new Voice before the first voice).  I tried it out 
in my situation, and it works.

It looks like there is a solution to the problem, and perhaps people in the 
past just didn't understand the questions of the people asking properly . . .

Anyway, here is the code that works, in the fashion I want it to work (this 
example isn't one of a situation that would require it, as that would be too 
complex, but it is one that shows it can work how I want it to):
\version 2.10.29

sopWords = \lyricmode
{
\set stanza = 1. 
TestOne testTwo
}


\score
{

\new Staff

\new Voice = sopranos
{
\voiceOne
\time 4/4
\key c \major
a'4 


{\voiceOne a'}
\new Voice
{\voiceTwo a'}
 \oneVoice
\bar |.
}

\new Lyrics = sopranos { s1 }

\context Lyrics = sopranos \lyricsto sopranos \sopWords

}


Thank you for your help!  This will help out with quite a lot of other issues, actually, it 
seems.  I suspect the key was using \oneVoice to set it back, since the reason it didn't 
show up using {} \\ {} was that they produced extra voices or something 
like that which couldn't be referenced properly.  What I tried before, at your first 
suggestion, was doing what I did on the outer framework in this code (i.e. without 
\oneVoice).



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


Re: Tip: lyrics with polyphony / stem directions (without specifically instantiated voices)

2007-08-29 Thread Kieren MacMillan

Hi Mark,


It looks like there is a solution to the problem


Glad it worked!

perhaps people in the past just didn't understand the questions of  
the people asking properly . . .


Perhaps... that's why I kept trying to clarify what question you were  
really asking, so that I could answer the question you were really  
asking!  =)


Graham: may I suggest one thing that might help the docs? In 6.3  
(especially .4, Explicitly instantiating voices), maybe if the notes  
in each Voice context were independently (i.e., differently)  
coloured, the examples (and thus the constructs and internal Lilypond  
mechanisms) would be even more clear immediately?


For an example, see the attached snippet.

Best regards,
Kieren.
___

\version 2.11.30

\markup \wordwrap { At first it may be difficult to understand why  
the three C notes are not tied in the following example: }

\score
{
\new Staff \relative c''
{
c ~  { c ~ } \\ { a }  c
}
}

\markup \wordwrap { By colouring the main Voice red, the problem  
becomes clear: }

\score
{
\new Staff \relative c''
{
\override Voice.NoteHead #'color = #red
c ~  { c ~ } \\ { a }  c
}
}

\markup \wordwrap
{
	Within the \typewriter { \\\ } polyphony section, two  
completely new Voice contexts, independent from the main Voice, have  
been constructed automatically by Lilypond. There are several ways to  
compensate for this instantiation, but the easiest is simply to avoid  
the \typewriter { \\\  } construct entirely — within the
construct, any notes before an explicit \typewriter { \\new Voice }  
command will belong to the main Voice context (i.e., the one  
“outside” the polyphony):

}
\score
{
\new Staff \relative c''
{
\override Voice.NoteHead #'color = #red
c ~  { c ~ } \new Voice { a }  c
}
}



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


Re: Tip: lyrics with polyphony / stem directions (without specifically instantiated voices)

2007-08-29 Thread Mats Bengtsson

Excellent idea! I will add something like this to the manual, extended with
yet another example that shows how to manually specify \voiceOne and so on.

  /Mats

Kieren MacMillan wrote:

Hi Mark,


It looks like there is a solution to the problem


Glad it worked!

perhaps people in the past just didn't understand the questions of 
the people asking properly . . .


Perhaps... that's why I kept trying to clarify what question you were 
really asking, so that I could answer the question you were really 
asking!  =)


Graham: may I suggest one thing that might help the docs? In 6.3 
(especially .4, Explicitly instantiating voices), maybe if the notes 
in each Voice context were independently (i.e., differently) coloured, 
the examples (and thus the constructs and internal Lilypond 
mechanisms) would be even more clear immediately?


For an example, see the attached snippet.

Best regards,
Kieren.
___

\version 2.11.30

\markup \wordwrap { At first it may be difficult to understand why the 
three C notes are not tied in the following example: }

\score
{
\new Staff \relative c''
{
c ~  { c ~ } \\ { a }  c   
}

}

\markup \wordwrap { By colouring the main Voice red, the problem 
becomes clear: }

\score
{
\new Staff \relative c''
{
\override Voice.NoteHead #'color = #red
c ~  { c ~ } \\ { a }  c
}
}

\markup \wordwrap
{
Within the \typewriter { \\\ } polyphony section, two 
completely new Voice contexts, independent from the main Voice, have 
been constructed automatically by Lilypond. There are several ways to 
compensate for this instantiation, but the easiest is simply to avoid 
the \typewriter { \\\  } construct entirely — within the   
construct, any notes before an explicit \typewriter { \\new Voice } 
command will belong to the main Voice context (i.e., the one “outside” 
the polyphony):

}
\score
{
\new Staff \relative c''
{
\override Voice.NoteHead #'color = #red
c ~  { c ~ } \new Voice { a }  c
}
}



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


--
=
Mats Bengtsson
Signal Processing
Signals, Sensors and Systems
Royal Institute of Technology
SE-100 44  STOCKHOLM
Sweden
Phone: (+46) 8 790 8463 
   Fax:   (+46) 8 790 7260
Email: [EMAIL PROTECTED]
WWW: http://www.s3.kth.se/~mabe
=



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


Re: No lyrics to polyphony

2006-12-17 Thread Mats Bengtsson

See http://lists.gnu.org/archive/html/lilypond-user/2006-01/msg00409.html
(The example in the manual has been moved to the section on Divisi lyrics).

  /Mats

Quoting Ezequiel Sierra [EMAIL PROTECTED]:


i have something like

\version 2.10.2
tope = \relative c'  {

\key ees \major
\time 4/4

\new Voice = melodia {
 { \stemUp bes'2 ees, bes'4 d bes' } \\ { \stemDown d ( f ) } 
}
}
versoUno = \lyricmode {
\set stanza = 1. 
¡San4 -- to!4 ¡San4 -- to!4

}


\score {


\context ChoirStaff 
\new Staff = tope { \tope }
\new Lyrics \lyricsto melodia \versoUno




}

No lyrics added





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







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


Re: No lyrics to polyphony

2006-12-17 Thread Ezequiel Sierra

to be more specific

 \context Voice = melodia { \voiceOne bes'4. bes8 bes g4 bes  
g } { \voiceTwo f4 f4 }  \oneVoice


i get all stems down of that staff why?


On Dec 17, 2006, at 5:04 PM, Mats Bengtsson wrote:

See http://lists.gnu.org/archive/html/lilypond-user/2006-01/ 
msg00409.html
(The example in the manual has been moved to the section on Divisi  
lyrics).


  /Mats

Quoting Ezequiel Sierra [EMAIL PROTECTED]:


i have something like

\version 2.10.2
tope = \relative c'  {

\key ees \major
\time 4/4

\new Voice = melodia {
 { \stemUp bes'2 ees, bes'4 d bes' } \\ { \stemDown d  
( f ) } 

}
}
versoUno = \lyricmode {
\set stanza = 1. 
¡San4 -- to!4 ¡San4 -- to!4

}


\score {


\context ChoirStaff 
\new Staff = tope { \tope }
\new Lyrics \lyricsto melodia \versoUno




}

No lyrics added





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











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


No lyrics to polyphony

2006-12-16 Thread Ezequiel Sierra

i have something like

\version 2.10.2
tope = \relative c'  {

\key ees \major
\time 4/4

\new Voice = melodia {
 { \stemUp bes'2 ees, bes'4 d bes' } \\ { \stemDown d ( f ) } 
}
}
versoUno = \lyricmode {
\set stanza = 1. 
¡San4 -- to!4 ¡San4 -- to!4

}


\score {


\context ChoirStaff 
\new Staff = tope { \tope }
\new Lyrics \lyricsto melodia \versoUno




}

No lyrics added





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


Cannot get the lyrics in polyphony

2006-04-18 Thread Riccardo Orfei
Hi all,

can somebody explain my mistake in coding the following example?

If I code the music like nogood I cannot get any lyrics.

I can only get the lyrics if I code the music like good.

Why?

There is surely something I am missing...

Ciao,
Ric
===
\version 2.8.0
\header { title = Prova }
\include italiano.ly
global = { \time 4/4}
nogood = \relative do'' {
 { \stemDown do2 re8 mi8  fa8 sol8 } \\
   { \stemUp   mi2 fa8 sol8 la8 si8  }  |
 { \stemDown do1 } \\ { \stemUp sol1} 
}
good = \relative do'' {
 do mi 2  re fa 8  mi sol 8  fa la 8  sol si 8
 do sol 1
}
voce = \lyricmode {
ah oh eh ih ah oh
}
\score { 
\new Staff {
\global
\context Voice = nogood { \nogood }
\context Voice = good   { \good   }
}
\override Score.LyricText #'font-family = #'sans
\new Lyrics \lyricsto good\voce
\new Lyrics \lyricsto nogood\voce
   
   \layout { }
   \midi { \tempo 4=90 }
}




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


Re: Cannot get the lyrics in polyphony

2006-04-18 Thread Eduardo Vieira
Hello Riccardo,
That is a common stumbling for lilypond users. In your case you have to
avoid the construct  \\  and explicitly create a voice context. See
Explicitly Instantiating Voices in the manual. Anyway, this should make
you score work:
nogood = \relative do'' {
 \new Voice = nogood { \voiceTwo do2 re8 mi8  fa8 sol8 }
   { \voiceOne   mi2 fa8 sol8 la8 si8  }  \oneVoice |
 \context Voice = nogood { \voiceTwo do1 } { \voiceOne sol1} 
\oneVoice
}

Eduardo Vieira

- Original Message -
From: Riccardo Orfei [EMAIL PROTECTED]
To: lilypond-user@gnu.org
Sent: Tuesday, April 18, 2006 6:56 AM
Subject: Cannot get the lyrics in polyphony


 Hi all,

 can somebody explain my mistake in coding the following example?

 If I code the music like nogood I cannot get any lyrics.

 I can only get the lyrics if I code the music like good.

 Why?

 There is surely something I am missing...

 Ciao,
 Ric
 ===
 \version 2.8.0
 \header { title = Prova }
 \include italiano.ly
 global = { \time 4/4}
 nogood = \relative do'' {
  { \stemDown do2 re8 mi8  fa8 sol8 } \\
{ \stemUp   mi2 fa8 sol8 la8 si8  }  |
  { \stemDown do1 } \\ { \stemUp sol1} 
 }
 good = \relative do'' {
  do mi 2  re fa 8  mi sol 8  fa la 8  sol si 8
  do sol 1
 }
 voce = \lyricmode {
 ah oh eh ih ah oh
 }
 \score { 
 \new Staff {
 \global
 \context Voice = nogood { \nogood }
 \context Voice = good   { \good   }
 }
 \override Score.LyricText #'font-family = #'sans
 \new Lyrics \lyricsto good\voce
 \new Lyrics \lyricsto nogood\voce

\layout { }
\midi { \tempo 4=90 }
 }




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




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


lyrics in polyphony

2005-01-11 Thread Charles Gran
I am writing a song in lead-sheet format.  I have an introduction that 
is polyphonic (manual 2.16).  The last measure of the introduction has a 
pickup into the melody proper.  I can't get a lyric on that pick-up.

In single-staff polyphony, how can you treat the top line as melody with 
lyric and the bottom as accompaniment?  My piece uses a template from 
the manual (notes, lyrics, and chords 3.2.4)

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


Re: lyrics in polyphony

2005-01-11 Thread Mats Bengtsson
Please send a (small) example of what you tried. Also, don't forget
to tell what version of LilyPond you use, otherwise you might get an
answer that's not fully relevant to you.
Take a look at the the example for Vocal ensembles to see how to set
the lyrics to one of several lines of music in a single staff.
I hope you have read the full section on Vocal Music in the manual.
It should answer your questions.
   /Mats
Charles Gran wrote:
I am writing a song in lead-sheet format.  I have an introduction that 
is polyphonic (manual 2.16).  The last measure of the introduction has a 
pickup into the melody proper.  I can't get a lyric on that pick-up.

In single-staff polyphony, how can you treat the top line as melody with 
lyric and the bottom as accompaniment?  My piece uses a template from 
the manual (notes, lyrics, and chords 3.2.4)

Charles
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user
--
=
Mats Bengtsson
Signal Processing
Signals, Sensors and Systems
Royal Institute of Technology
SE-100 44  STOCKHOLM
Sweden
Phone: (+46) 8 790 8463 
Fax:   (+46) 8 790 7260
Email: [EMAIL PROTECTED]
WWW: http://www.s3.kth.se/~mabe
=
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: lyrics in polyphony

2005-01-11 Thread Ferenc Wagner
Charles Gran [EMAIL PROTECTED] writes:

 I am writing a song in lead-sheet format.  I have an
 introduction that is polyphonic (manual 2.16).  The last
 measure of the introduction has a pickup into the melody
 proper.  I can't get a lyric on that pick-up.

The { ... \\ ... \\ ... } construct creates voices
implicitly with names 1, 2 etc.  (Follow the link at the
bottom of the page through 5.4.1!)  I don't know how
\addlyrics would behave in such a situation, but \lyricsto
surely can help.  Make the pickup a separate voice by
creating it explicitly via \context Voice = pickup or
similar, then attach lyrics to it via \lyricsto.
-- 
Feri.


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