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

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

Re: Paroles différentes sur reprise


From: Pierre Perol-Schneider
Subject: Re: Paroles différentes sur reprise
Date: Wed, 3 Jun 2015 10:36:18 +0200

Bonjour Gérard,

Le 1 juin 2015 14:35, gerardk <address@hidden> a écrit :
Superbe solution, c'est ce que je voulais.


Personnellement j'écrirais :

% =========================================
\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 #"brace60"
}

sopranoTexte = \lyricmode {
  %% On applique la commande à tous les systèmes :
  \once\override Score.StanzaNumber.Y-offset = #-.7
  \set stanza = \markup\vcenter {
    #" 1. "
    \accoladeOuvrante
  }
  <<
    {
      \texte_I
    }
    \new Lyrics = "reprise" \with {
      associatedVoice = "sopranos"
      alignBelowContext = "sopranos"
    } {
      \texte_II
    }
  >>
  \texte_III
}
altoTexte = \lyricmode {
  \set stanza = \markup\vcenter {
    #" 1. "
    \accoladeOuvrante
  }
  <<
    {
      \texte_I
    }
    \new Lyrics = "reprise" \with {
      associatedVoice = "altos"
      alignBelowContext = "altos"
    } {
      \texte_II
    }
  >>
  \texte_III
}
tenorTexte = \lyricmode {
  \set stanza = \markup\vcenter {
    #" 1. "
    \accoladeOuvrante
  }
  <<
    {
      \texte_I
    }
    \new Lyrics = "reprise" \with {
      associatedVoice = "tenors"
      alignBelowContext = "tenors"
    } {
      \texte_II
    }
  >>
  \texte_III
}
basseTexte = \lyricmode {
  \set stanza = \markup\vcenter {
    #" 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
    >>
  >>
}
% =========================================


Cordialement,
Pierre



reply via email to

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