Re: How to get lyrics to skip measures?

2015-01-28 Thread Vaughan McAlley
On 27 January 2015 at 10:53, Chris Trahan trahan.ch...@gmail.com wrote:

 Thanks Kieren. That's what I tried in the 1st place but the actual musical 
 passage is not as simple as my example, so using \skip is very unwieldy.  
 It's a whole verse.


\skip in lyrics is indeed arcane and unwieldy. The relationship
between the time value after \skip and what is actually skipped seems
as good as random to me. musicxml2ly does all lyric skipping,
including melismas, with \skip4 (regardless of time signature), and
still I have no idea how it works. But as you worked out, new voice
contexts are your friend.

Vaughan

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


How to get lyrics to skip measures?

2015-01-26 Thread Chris Trahan
I'm having a little trouble figuring out how to do this.  I have a score
where verse 1 is sung then there is a whistling interlude then verse two is
sung.

I think that I need to somehow include spacers to skip over the whistle
part but I'm getting errors when I try that.

Here is a short sample code. Would someone give me a clue how to get the
lyrics to skip the Whistle part?

This comes up often in our vocal music. Often there is an interlude before
the next verse is sung.

\version 2.18.2
\language english

melodyVerseOne = {
  \new Staff \relative c'' {
\set Staff.vocalName = Women
\set Staff.shortVocalName = W
\new Voice = Women {
  \time 2/4
  \key c \major
  c^Verse 1 d e f | \break
%%  Lyrics to skip this section
  g^Whistle a b c | \break
%%  Verse two lyrics start here
  c,^Verse 2 d e f
}
  }
}

verseOneLyrics = \lyricmode {
  La la la la
}

verseTwoLyrics = \lyricmode {
  Do re me fa
}

\score {
  
  \melodyVerseOne
  \new Lyrics \lyricsto Women {
\verseOneLyrics
  %% Need to skip the Whistle part
\verseTwoLyrics
  }
  
}

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


Re: How to get lyrics to skip measures?

2015-01-26 Thread Chris Trahan
On Mon, Jan 26, 2015 at 4:35 PM, Kieren MacMillan 
kieren_macmil...@sympatico.ca wrote:

 Hi Chris,

  I think that I need to somehow include spacers to skip over the whistle
 part but I'm getting errors when I try that.

 \new Lyrics \lyricsto Women {
 \verseOneLyrics
 \repeat unfold 4 { \skip 8 }
 \verseTwoLyrics
   }

 Hope this helps!
 Kieren.
 ___

 Kieren MacMillan, composer
 www:  http://www.kierenmacmillan.info
 email:  i...@kierenmacmillan.info


Thanks Kieren. That's what I tried in the 1st place but the actual musical
passage is not as simple as my example, so using \skip is very unwieldy.
It's a whole verse.

I did figure it out. I had to create a new voice context for the part that
is to be whistled.   I can then just set the lyrics to the Women voice
context and the lyrics automatically skip the Whistle section.

Here's a snippet of the actual code. It's not complete so it won't compile.
I'm beginning to understand contexts, finally!!!

womenMusic = {

  %% There's other music and code here.

  g8 a bf a | a4 a8 bf | c4 c | bf bf8 r | \break
  g8 a bf a | a4 a8 bf | c4 c | g4 r | \bar || \break

%% This creates the new voice context that will be skipped by setting
%% the women's lyrics to the Women voice context.

  \new Voice = Whistle {
g8\mark All whistle a bf g | a4 a8 bf | c4 c | bf bf8 r8 | \break
g8 a bf g | a4 a8 bf | c4 d | g, r | \bar || \break
  }

%% This reverts back to the original context.

  \oneVoice

%% And the rest of the piece follows.

  \key g \major
  g8^Women a b g | a4 a8 b | c4 c | b bf8 r8 | \break

%% The rest of the music is here.
}
  }
}

Now my score block is:

\score {
  \new ChoirStaff
  
\womenMusic
\new Lyrics
\lyricsto Women {
  \set stanza = #1.
  \womenLyricOneTwo  % The same lyrics are used for V 1  2.
  \set stanza = #2.
  \womenLyricOneTwo
}
\menMusic
\new Lyrics \lyricsto Men {
  \set stanza = #2.
  \menLyricTwo
}
  
}

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


Re: How to get lyrics to skip measures?

2015-01-26 Thread Kieren MacMillan
Hi Chris,

 I think that I need to somehow include spacers to skip over the whistle part 
 but I'm getting errors when I try that.

\new Lyrics \lyricsto Women {
\verseOneLyrics
\repeat unfold 4 { \skip 8 }
\verseTwoLyrics
  }

Hope this helps!
Kieren.
___

Kieren MacMillan, composer
www:  http://www.kierenmacmillan.info
email:  i...@kierenmacmillan.info


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


Re: How to get lyrics to skip measures?

2015-01-26 Thread Trevor Daniels

Kieren MacMillan wrote Monday, January 26, 2015 10:35 PM

 I think that I need to somehow include spacers to skip over the whistle part 
 but I'm getting errors when I try that.
 
 \new Lyrics \lyricsto Women {
\verseOneLyrics
\repeat unfold 4 { \skip 8 }
\verseTwoLyrics
  }

Or, if there are only a few notes to skip, use an underscore for each one:

  \new Lyrics \lyricsto Women {
\verseOneLyrics
_ _ _ _
\verseTwoLyrics
  }

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