lilypond-user
[Top][All Lists]
Advanced

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

Re: Lyrics Problem


From: address@hidden
Subject: Re: Lyrics Problem
Date: Fri, 02 Feb 2007 08:56:50 +0100

Hello!
First of all thanks for your help. I already looked at that section of the manual, but somehow I didn't got it to work. With your help it now compiles without errors and warnings, but there is one thing I want to change:
Now the lyrics are beneath the staffs, but I want them to be above (because they belong to the first trumpet). If I try something like:

\new PianoStaff <<
    \new Lyrics \lyricsto trumpetI \text
    \new Staff {
        \clef treble \key f \major
        << \new Voice = trumpetI { \voiceOne \trumpetone } \\ \trumpettwo >>
    }
    \new Staff {
        \clef bass \key f \major
        << \tromboneone \\ \trombonetwo >>
    }
>>

I get the error that Voice trumpetI is not known. That's because the voice is declared after \new Lyrics ... - Any idea how to solve this?

Greets
Robert


-----Original Message-----
Date: Thu, 01 Feb 2007 13:44:44 +0100
Subject: Re: Lyrics Problem
From: Mats Bengtsson <address@hidden>
To: 9-bert <address@hidden>

Basically, what you have to do is to provide a name to the corresponding
voice of music and then refer to that with \lyricsto, see the sections on
lyrics in the manual. In your example, it would look something like

mylyrics = \lyricmode{ Hi, here's some ly -- rics }

\score{
<<
 \new PianoStaff <<
   \new Staff {
      \clef treble \key f \major
      << \new Voice = trumpetI {\voiceOne \trumpetone} \\ \trumpettwo >>
   }
    \new Staff {
      \clef bass \key f \major
      << \tromboneone \\ \trombonetwo >>
   }
 >>
 \new Lyrics \lyricsto trumpetI \myLyrics
>>
}

  /Mats 

reply via email to

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