lilypond-es
[Top][All Lists]
Advanced

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

Re: letra en divisi


From: Francisco Vila
Subject: Re: letra en divisi
Date: Tue, 25 Jan 2022 09:29:51 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.14.0

Otro ejemplo en el que quizá se vea más claro cómo reutilizar contextos de letra con la instrucción \context

Ojo, hay que darles un nombre al crearlos y usar el mismo nombre al reutilizarlos.

\version "2.20.0"

global = {
  \time 4/4
  \dynamicUp
}
sopranonotes = \relative c'' {
  c2 c
  <<
    \context Voice ="first"
    { \voiceOne c2 (d  e d )}
    \new Voice = "second"
    {\voiceTwo  c4 ( b) a (g) f( e) f (g ) }
  >>
}
sopranowords = \lyricmode {
  du du
}

altonotes = \relative c'' {
  c2\p d c d b c
}
altowords = \lyricmode { du du du du du du }
tenornotes = {
  \clef "G_8"
  c2\mp d c d b c
}
tenorwords = \lyricmode { du du du du du du }
bassnotes = {
  \clef bass
  c2\mf d c d b c
}
basswords = \lyricmode { du du du du du du }

\score {
  \new ChoirStaff <<
    \new Staff <<
      \new Voice = "soprano" <<
        \global
        \sopranonotes
      >>
      \new Lyrics = "sopranowords" \lyricsto "soprano" \sopranowords
    >>
    \context Lyrics = "sopranowords" \lyricsto "first" { a __  }
    \new Lyrics \lyricsto "second" { b ___  b __ b __ b __ }
    \new Staff <<
      \new Voice = "alto" <<
        \global
        \altonotes
      >>
      \new Lyrics \lyricsto "alto" \altowords
    >>
    \new Staff <<
      \new Voice = "tenor" <<
        \global
        \tenornotes
      >>
      \new Lyrics \lyricsto "tenor" \tenorwords
    >>
    \new Staff <<
      \new Voice = "bass" <<
        \global
        \bassnotes
      >>
      \new Lyrics \lyricsto "bass" \basswords
    >>
  >>
}

%%%%%%%%%%%%%%%%%%%

El resultado es el mismo.

Saludos

--
Francisco Vila, Ph.D. - Badajoz (Spain)

reply via email to

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