lilypond-user
[Top][All Lists]
Advanced

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

Re: Lyrics Problem


From: Mats Bengtsson
Subject: Re: Lyrics Problem
Date: Fri, 02 Feb 2007 09:57:49 +0100
User-agent: Thunderbird 1.5.0.9 (X11/20061206)

See http://lists.gnu.org/archive/html/lilypond-user/2007-02/msg00006.html

  /Mats

address@hidden wrote:
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 ------------------------------------------------------------------------

_______________________________________________
lilypond-user mailing list
address@hidden
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: address@hidden
        WWW: http://www.s3.kth.se/~mabe
=============================================





reply via email to

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