Hi Frédéric,
If you want to get a custom style, see Simon's here:
http://lilypond.1069038.n5.nabble.com/Custom-accidental-styles-td190776.html#a190788

Otherwise you could do:

\version "2.20.0"

\fixed c' {
  \accidentalStyle dodecaphonic
  \key d\major
  c' d' e' f'
  cis' dis' eis' fis'
  ces' des' es' fes'
}

\layout {
  \context {
    \Voice
    \override Accidental.stencil =
      #(lambda (grob)
          (let ((glyph (ly:grob-property grob 'glyph-name)))
           (cond
            ((equal? glyph "accidentals.natural")
               (ly:stencil? #f))
               (else (ly:accidental-interface::print grob)))))
  }
}

HTH, Cheers,
Pierre

Le jeu. 21 mai 2020 à 11:06, Frédéric <[email protected]> a écrit :

> Hi David,
>
> > \fixed c'
> > { \key d\major \accidentalStyle dodecaphonic
> >   c' d' e' f'
> >   cis' dis' eis' fis'
> >   ces' des' es' fes'
> > }
>
>
> I tested that one already but I do not want the natural signs.
> Thanks
>
>

Reply via email to