lilypond-user
[Top][All Lists]
Advanced

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

Re: lyrics first word starts on second note of piece


From: Chip Wiegand
Subject: Re: lyrics first word starts on second note of piece
Date: Wed, 06 Oct 2010 13:26:54 -0700
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.8) Gecko/20100802 Thunderbird/3.1.2

Thanks Vicente, that was indeed the problem. Seems that I may have encountered that in the past and didn't notice it in this piece, thanks for pointing it out. I gotta remember to take that out of the template.
Regards,
chip

On 10/6/2010 1:20 PM, Vicente Solsona wrote:
On Wed, 06 Oct 2010 21:06:39 +0200, Chip Wiegand <address@hidden> wrote:
I am having an issue with getting a lyric to align the first word to the first note of the piece. I have even commented out all the lyrics except the first two words of the two stanzas, but only the first word of each stanza appears and it is under the second note of the piece. I have included the code for the song below.
Regards,
Chip W

Chip, please read this before posting code examples:

http://lilypond.org/tiny-examples.html

I think your problem comes from applying \global to the \lyrics context. It looks like the autobeaming settings in \global are interfering with the lyrics.

this tiny example works as expected:

\version "2.12.3"

global = {
  #(override-auto-beam-setting '(end * * * *) 1 4 'Staff)
  #(override-auto-beam-setting '(end * * * *) 2 4 'Staff)
  #(override-auto-beam-setting '(end * * * *) 3 4 'Staff)
}

staffMelody = \relative c'' {
        \global % OK, it sets your desired autobeaming
        g8 g g a16 b
    }

    theChords = \chordmode { g2 }


verseI = \lyricmode {
  \set stanza = #"1. "
  Are you just my im
}

\score {
<<
        \context ChordNames { \theChords }
        \new Staff {
          \context Voice = "voiceMelody" { \staffMelody }
        }
        \new Lyrics = "lyricsI" {
% \global <------- DOESN'T SEEM A GOOD IDEA. LYRICS CAN'T BE "BEAMED"
          \lyricsto "voiceMelody" \verseI
        }
>>
}



greetings,

Vicente







reply via email to

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