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

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

Re: Un spanner dans un tempo ?


From: Pierre Perol-Schneider
Subject: Re: Un spanner dans un tempo ?
Date: Wed, 6 Aug 2014 07:56:37 +0200

Une autre solution est d'intégrer une polyphonie fictive :

\version "2.18.2"

soprano = \relative c'' {
  \clef G
  \repeat unfold 2 { \repeat unfold 5 a1 \break }
  \repeat unfold 5 a1
}

alto = \relative c' {
  \clef C
  \repeat unfold 2 { \repeat unfold 5 a1 \break }
  \repeat unfold 5 a1
}

basse = \relative c {
  \clef F
  \repeat unfold 2 { \repeat unfold 5 a1 \break }
  \repeat unfold 5 a1
}

tempoSpanner = {
  s1*3
  \once\override TextSpanner.bound-details.left.text = #"rit "
  \once\override TextSpanner.bound-details.right.text = #" a tempo"
  \once\override TextSpanner.bound-details.left-broken.text = ##f
  \once\override TextSpanner.bound-details.right-broken.text = ##f
  s1\startTextSpan
  s1*5
  s1\stopTextSpan
}

\score {
  \new StaffGroup <<
    \new Staff \with { instrumentName =  Soprano } << \soprano \\ \tempoSpanner >>
    \new Staff \with { instrumentName =  Alto } \alto
    \new Staff \with { instrumentName =  Basse } \basse
  >>
}

\score {
  \new Staff \with { instrumentName =  Basse } << \basse \\ \tempoSpanner >>
}


Pierre

reply via email to

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