lilypond-user
[Top][All Lists]
Advanced

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

Using SMuFl accidentals on notes in chords


From: Andrew Bernard
Subject: Using SMuFl accidentals on notes in chords
Date: Sat, 11 Jul 2020 17:43:15 +1000

I am able to use various exotic accidentals from SmuFl with my own
music functions such as this:

accidentalHalfSharpArrowUp =
#(define-music-function (note)
   (ly:music?)
   #{ \once \override Voice.Accidental.stencil =
      #ly:text-interface::print
      \once \override Voice.Accidental.text =
      \markup {
        \smuflglyph "accidentalHalfSharpArrowUp"
      }
      $note #})

Now however I have the need to use quartertone and other accidentals
on notes inside chords. How can I add a separate accidentals using
SMuFL glyphs to a simple chords like:

<fis' cis''>16

I suppose this needs to be done with \tweak but I don't know how to
use the music function in that context, or even if that is totally
incorrect.

Andrew



reply via email to

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