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

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

Re: problème avec ossia


From: Christophe Pochon
Subject: Re: problème avec ossia
Date: Tue, 28 Sep 2021 09:00:21 +0200

Hello,

C'est le 9/8 qui complique le tout. Il faut multiplier par 9/8 tes R compressés du début et tes s1 après le \stopStaff. Si tu veux six mesures compressées au début, tu indiques R1*6*9/8 (ou R1*54/8). Et pour les s1, ils doivent valoir le nombre total de mesures. Donc si le passage dure 10 mesures : s1*10*9/8 (ou s1*90/8).

Résultat :

\version "2.20.0"
%---------------------------------------------
LaBasse = \new Staff {
\relative c,
{
  \key g\major
  \clef "bass"
  \time 9/8\key g\major
  \compressMMRests{R1*54/8}
    <<
     \context Staff = "ossia"
     {\startStaff \improvisationOn c''8 c c c c c c c c
\improvisationOff\stopStaff }
     {r4. g,,8 g g d8. g}
    >>
   \repeat unfold 3
    {r4. g 8 g g d8. g}
}}
%-------------------------------------------------
\score
  {
   <<
    \new Staff = "ossia"
     \with
      {
       \remove "Time_signature_engraver"
       \hide Clef
       \magnifyStaff #2/3
      }
     { \stopStaff s1*90/8 }
    \LaBasse
    >>
   \layout {}
  }


A+
Christophe Pochon



Le mar. 28 sept. 2021 à 08:27, Christian LE BARS <christian@le-bars.net> a écrit :
Bonjour a tous.

je rencontre un problème avec ossia.

J'ai recopier de la doc dans ma partition cependant l'effet est différent.

je m'attendais a que la porté ossia soit au-dessus elle est en-dessous!

de plus la clef apparait!

ou est mon erreur?

par avance merci

\version "2.20.0"
%---------------------------------------------
LaBasse =
\relative c,
{
  \key g\major
  \clef "bass"
  \time 9/8\key g\major
  \compressMMRests{R2.*9}
    <<
     \context Staff = "ossia"
     {\startStaff \improvisationOn c''8 c c c c c c c c
\improvisationOff\stopStaff }
     {r4. g,,8 g g d8. g}
    >>
   \repeat unfold 3
    {r4. g 8 g g d8. g}
}
%-------------------------------------------------
\score
  {
   <<
    \new Staff = "ossia"
     \with
      {
       \remove "Time_signature_engraver"
       \hide Clef
       \magnifyStaff #2/3
      }
     { \stopStaff s1*6 }
    \LaBasse
    >>
   \layout {}
  }

Christian



reply via email to

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