Hi again,

> It would be easy enough to turn that into a music function, so one could say 
> e.g.
>  \hint as’1 bf’4

For example:

%%%  SNIPPET BEGINS
\version "2.25.32"
\language "english"

hint =
#(define-music-function
  (parser location mainNote hintNote)
  (ly:music? ly:music?)
  #{
    \afterGrace
    { #mainNote }
    { \once \omit Stem \tweak Parentheses.font-size -3 \tweak 
Parentheses.padding 0.1 \parenthesize #hintNote }
  #})

{
  \key fs \major
  \hint as'1 bf'4
  \key bf \major
  bf'1
}
%%%  SNIPPET ENDS

To be honest, I’m not 100% sure if it should be #mainNote or $mainNote…
Somebody Smarter™ will be able to explain the difference(s), and advise on 
which is the correct/best option.

Hope that helps!
Kieren.
__________________________________________________

My work day may look different than your work day. Please do not feel obligated 
to read or respond to this email outside of your normal working hours.


Reply via email to