Jump to content

Harp muffle notation: Difference between revisions

From LilyPond wiki
Import snippet from LSR
 
m Replace version="2.24.0" with version="2.24" now that the LilyWiki extension supports auto-selecting the latest release in a stable series
Tags: Mobile edit Mobile web edit
Line 1: Line 1:
Here is how to use custom-made symbols for harp muffle notation, letting musicians know when to damp the strings with the palm of the hands. It may be printed more nicely between the lower and upper staff by using the Dynamics context.
Here is how to use custom-made symbols for harp muffle notation, letting musicians know when to damp the strings with the palm of the hands. It may be printed more nicely between the lower and upper staff by using the Dynamics context.


<lilypond version="2.24.0">
<lilypond version="2.24">
mufflePath=
mufflePath=
\markup
\markup

Revision as of 18:57, 16 November 2025

Here is how to use custom-made symbols for harp muffle notation, letting musicians know when to damp the strings with the palm of the hands. It may be printed more nicely between the lower and upper staff by using the Dynamics context.

\version "2.24"

mufflePath=
\markup
\path #0.15 #'((moveto -1.25 0)
                (lineto 1.25 0)
                (moveto 0 -1.25)
                (lineto 0 1.25))

muffleMarkup=
\markup \translate #'(0 . 1)
\combine \mufflePath
\draw-circle #1 #0.15 ##f

oMuffleMarkup=
\markup
\combine
\center-align \huge \bold \normal-text "O"
\center-align \translate #'(0 . 1)
\mufflePath


innerMuffleMarkup=
\markup \combine \muffleMarkup
\translate #'(0 . 1)
\draw-circle #.58 #0.15 ##f

muffle=#(make-dynamic-script muffleMarkup)
innerMuffle=#(make-dynamic-script innerMuffleMarkup)
oMuffle=#(make-dynamic-script oMuffleMarkup)

\new PianoStaff <<
  \new Staff {b1 b2 r b r b r \bar "|."}
  \new Dynamics {
    s1\p s2 r\oMuffle
    s r\muffle s2 r\innerMuffle
  }
  \new Staff {\clef bass e1 e2 r e r e r}
>>