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

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

Re: retourner la clé


From: Gilles THIBAULT
Subject: Re: retourner la clé
Date: Tue, 27 Oct 2009 17:35:12 +0100


NB
Je suis interessé si tu nous livre le résultat.

Euh j'ai pas eu la patience d'attendre ...

%%%%%%%%%%%%%%%%%%%%%%%%%%%
#(define ((new-stencil func) grob)
(let*
   ((original-stencil (func grob))
    (ext-y (ly:stencil-extent original-stencil Y))
    (delta-y (- (cdr ext-y) (car ext-y))))
(ly:stencil-translate
   (ly:stencil-rotate original-stencil 180 -1 1 ); -1 1 = en haut à gauche
   (cons 0.12  (- 0.12 delta-y delta-y )))))% 0.12 c'est du bidouillage ...

invisibleTimeChange = {
 \once \override Staff.TimeSignature #'stencil = ##f
   \time 1/8
   \bar ""
   s8
}


music = \relative {
   c1
   \override Score.BreakAlignment #'break-align-orders =
       #(make-vector 3 '(left-edge ambitus breathing-sign
                     key-cancellation  staff
                     time-signature key-signature clef staff-bar custos))

   \invisibleTimeChange
   \override Staff.Clef #'stencil =
                   #(new-stencil ly:clef::print)
   \override Staff.KeySignature #'stencil =
                   #(new-stencil ly:key-signature-interface::print)
   \override Staff.TimeSignature #'stencil =
                   #(new-stencil ly:time-signature::print)
   \override Staff.TimeSignature #'Y-offset = #2
   \time 4/4
   \clef tenor
   \key ees \major
   \bar "|"
}

\new Voice \music
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

Il ne reste plus qu'à arranger l'armature pour que les bemols soient aux bons endroits.

Gilles

Attachment: fin-palindrome.png
Description: PNG image


reply via email to

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