lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: was combining words and lyrics -addendum to problem


From: Neil Puttock
Subject: Re: was combining words and lyrics -addendum to problem
Date: Sat, 8 Sep 2007 18:16:23 +0100

Hi Jay,

On 9/8/07, Jay Hamilton <address@hidden> wrote:
The solutions so far have worked well, however I can't combine the crossesOn/off with a 'note' into a chord and have to go into polyphony so far so good.

If you want crosses in a chord, you can use \tweak:

<es \tweak #'style #'cross g'>4 

  However since the polyphony  comes in the middle of the score it's not clear to me what method to use to attach lyrics to the lower 'voiced' part and leave the 'clapping' i.e. crosses alone.
Splitting doesn't seem to be the correct/efficient methods

Since you've got different beats for the lyrics and the claps in some cases (e.g. the first blah & clap), it's the only method which will work properly.

Here's a short example it won't compile  though it does in score.  Though not the lyrics in any way,  I expected even if I did it wrong that the words would be attached to one line or the other.  But no words appear in that section at all and only much later in the score do words appear again for that part.

The problem is using shorthand polyphonic notation, << { } \\ { } >>, which creates two new voice contexts; have a look at section 6.3.3, "Basic polyphony", for an explanation. By using this, you have three voice contexts in your fluteMusic section: "flute", "1" and "2".

Since your notes are effectively in a new context "2", the lyrics context can't find them.

The solution is to keep the notes in the "flute" voice and create a new voice for the claps:

\version "2.10.25"

crossesOn = \override NoteHead #'style = #'cross
crossesOff = \revert NoteHead #'style

fluteMusic =
\relative c'' {

%page 19-voice I
\tempo 4=120
\time 5/4 <<
{ \voiceTwo %stems go down
es,4  f8 g4 aes8 bes4 c des4 c8 es4 c8 des4 c bes4. g r2 %This is still in "flute" context, so lyrics can see these notes
\oneVoice } %back to normal stem behaviour
\new Voice { \voiceOne %stems up for this voice
\crossesOn g'4. g g4 g4 |g4. g g4 g4 |g4. g g4 g4 } >> %New voice for claps with stems up. We don't need \crossesOff, since this voice dies here
r1 r4 es,4  f8 g4 aes8 bes4 c des4 c8 es4 des8 f4 es

}

fluteLyrics = \lyricmode  {
%19-I

bah bah bah bah bah bah bah bah bah bah bah bah bah bah
bah bah bah bah bah bah bah bah bah bah bah bah
}

\score {<<

 \new Voice = "flute"  \fluteMusic
 \new Lyrics \lyricsto flute \fluteLyrics
>>
\layout { }

}

Regards,
Neil

reply via email to

[Prev in Thread] Current Thread [Next in Thread]