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

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

Re: Double dièse


From: Valentin Villenave
Subject: Re: Double dièse
Date: Mon, 23 Mar 2020 10:25:18 +0100

On 3/23/20, martial <address@hidden> wrote:
> je propose ceci

Bien vu ; je pense qu’il y a encore plus simple pour que ça s’applique
automatiquement partout où il y a des double-dièses :

%%%

\layout {
  \context {
    \Score
    \override Accidental.stencil =
    #(lambda (grob)
       (if (eq? 1
         (ly:pitch-alteration
          (ly:event-property
           (ly:grob-property
            (ly:grob-property grob 'cause)
            'cause) 'pitch)))
        (grob-interpret-markup
         grob (markup #:concat
          (#:raise -.15 #:sharp #:sharp)))
        (ly:accidental-interface::print grob)))
  }
}

%%%

V.



reply via email to

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