lilypond-user
[Top][All Lists]
Advanced

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

Re: Handbell mallets


From: Aaron Hill
Subject: Re: Handbell mallets
Date: Fri, 14 Dec 2018 22:53:58 -0800
User-agent: Roundcube Webmail/1.3.6

On 2018-12-14 10:46 pm, Aaron Hill wrote:
Creating a custom articulations is probably the best option, however
you can also easily redefine the stencil for an existing one:

%%%%
\version "2.19.82"

% handbell mallet
hbm = \tweak stencil #(lambda (grob)
  (grob-interpret-markup grob #{ \markup \combine
      \raise #1 \musicglyph #"scripts.stopped"
      \musicglyph #"scripts.staccato"
    #})) \stopped

{ f'8-+-. [ f''-+-. ] f'\hbm [ f''\hbm ] }
%%%%

It's been too long since I played bells, so I don't remember the conventions anymore. But if it is desired that the mallet symbol be inverted when it appears below a note, here is a modification to the code above that will take into account direction:

%%%%
\version "2.19.82"

% handbell mallet
hbm = \tweak stencil #(lambda (grob)
  (let ((dir (ly:grob-property grob 'direction)))
    (grob-interpret-markup grob #{ \markup \combine
        \raise #dir \musicglyph #"scripts.stopped"
        \musicglyph #"scripts.staccato"
      #}))) \stopped

{ f'8-+-. [ f''-+-. ] f'\hbm [ f''\hbm ] b'4^\hbm b'_\hbm }
%%%%

-- Aaron Hill



reply via email to

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