Next: , Previous: Divisi lyrics, Up: Placement of lyrics


2.1.3.2 Lyrics independent of notes

In some complex vocal music, it may be desirable to place lyrics completely independently of notes. Music defined inside lyricrhythm disappears into the Devnull context, but the rhythms can still be used to place the lyrics.

     
     voice = {
       c''2
       \tag #'music { c''2 }
       \tag #'lyricrhythm { c''4. c''8 }
       d''1
     }
     
     lyr = \lyricmode { I like my cat! }
     
     <<
       \new Staff \keepWithTag #'music \voice
       \new Devnull="nowhere" \keepWithTag #'lyricrhythm \voice
       \new Lyrics \lyricsto "nowhere" \lyr
       \new Staff { c'8 c' c' c' c' c' c' c'
       c' c' c' c' c' c' c' c' }
     >>

[image of music]

This method is recommended only if the music in the Devnull context does not contain melismata. Melismata are defined by the Voice context. Connecting lyrics to a Devnull context makes the voice/lyrics links to get lost, and so does the info on melismata. Therefore, if you link lyrics to a Devnull context, the implicit melismata get ignored.

Diese Seite ist für LilyPond-2.11.58 (Entwicklungszweig).

Fehler bitte an http://post.gmane.org/post.php?group=gmane.comp.gnu.lilypond.bugs melden.

Ihre Vorschläge für die Dokumentation sind willkommen.

Andere Sprachen: français, español.