lilypond-user-fr
[Top][All Lists]
Advanced

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

Paroles différentes sur reprise


From: gerardk
Subject: Paroles différentes sur reprise
Date: Sun, 31 May 2015 08:32:34 -0700 (MST)

Bonjour

J'ai une partition pour chœur avec une reprise et donc des paroles
différentes à placer.
J'ai trouvé comment positionner les deux textes correctement. Je n'arrive
pas à placer l'accolade correctement au début du texte, je voudrais la
centrer en hauteur sur les deux lignes de texte

Autre question : la solution que j'ai trouvéé me semble lourde. Peut-on la
simplifier ?
J'ai préparé ceci :
% =========================================
\version "2.18.2"
\language "italiano"
global = {
  \key do \major
  \time 4/4
  \autoBeamOff
}
sopranoNotes = \relative do'' {
  \global
  \repeat volta 2
  {
    do4 do do do |
  }
  do do do do
  \bar "|."
}
altoNotes = \relative do' {
  \global
  mi4 mi mi mi | mi mi mi mi
}
tenorNotes = \relative do' {
  \global
  sol4 sol sol sol | sol sol sol sol
}
bassNotes = \relative do {
  \global
  do4 do do do | re re re re
}
texte_I = \lyricmode {
  Aa aa aa aa
}
texte_II = \lyricmode {
  Bb bb bb bb
}
texte_III = \lyricmode {
  Cc cc cc cc cc
}
accoladeOuvrante = \markup {
  \override #'(font-encoding . fetaBraces)
  \lookup #"brace80"
}
sopranoTexte = \lyricmode {
  \override StanzaNumber.extra-offset = #'(0 . -2.)
  \set stanza = \markup {
    #" 1. "
    \accoladeOuvrante
  }
  <<
    {
      \texte_I
    }
    \new Lyrics = "reprise" \with {
      associatedVoice = "sopranos"
      alignBelowContext = "sopranos"
    } {
      \texte_II
    }
  >>
  \texte_III
}
altoTexte = \lyricmode {
  \override StanzaNumber.extra-offset = #'(0 . -2.)
  \set stanza = \markup {
    #" 1. "
    \accoladeOuvrante
  }
  <<
    {
      \texte_I
    }
    \new Lyrics = "reprise" \with {
      associatedVoice = "altos"
      alignBelowContext = "altos"
    } {
      \texte_II
    }
  >>
  \texte_III
}
tenorTexte = \lyricmode {
  \override StanzaNumber.extra-offset = #'(0 . -2.)
  \set stanza = \markup {
    #" 1. "
    \accoladeOuvrante
  }
  <<
    {
      \texte_I
    }
    \new Lyrics = "reprise" \with {
      associatedVoice = "tenors"
      alignBelowContext = "tenors"
    } {
      \texte_II
    }
  >>
  \texte_III
}
basseTexte = \lyricmode {
  \override StanzaNumber.extra-offset = #'(0 . -2.)
  \set stanza = \markup {
    #" 1. "
    \accoladeOuvrante
  }
  <<
    {
      \texte_I
    }
    \new Lyrics = "reprise" \with {
      associatedVoice = "basses"
      alignBelowContext = "basses"
    } {
      \texte_II
    }
  >>
  \texte_III
}

\score {
  <<
    \new ChoirStaff <<
      \new Lyrics = "sopranos" \with {
        \override VerticalAxisGroup.staff-affinity = #DOWN
      }
      \new Staff = "women" <<
        \new Voice = "sopranos" { \voiceOne << \sopranoNotes >> }
        \new Voice = "altos" { \voiceTwo << \altoNotes >> }
      >>
      \new Lyrics = "altos"
      %%---------------------------
      \new Lyrics = "tenors" \with {
        \override VerticalAxisGroup.staff-affinity = #DOWN
      }
      \new Staff = "men" <<
        \clef bass
        \new Voice = "tenors" { \voiceOne << \tenorNotes >> }
        \new Voice = "basses" { \voiceTwo << \bassNotes >> }
      >>
      \new Lyrics = "basses"
      %%---------------------------
      \context Lyrics = "sopranos" \lyricsto "sopranos" \sopranoTexte
      \context Lyrics = "altos" \lyricsto "altos" \altoTexte
      \context Lyrics = "tenors" \lyricsto "tenors" \tenorTexte
      \context Lyrics = "basses" \lyricsto "basses" \basseTexte
    >>
  >>
}
% =========================================





--
View this message in context: 
http://lilypond-french-users.1298960.n2.nabble.com/Paroles-differentes-sur-reprise-tp7583089.html
Sent from the LilyPond French Users mailing list archive at Nabble.com.



reply via email to

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