lilypond-user
[Top][All Lists]
Advanced

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

Re: "Guide notes"


From: Malte Meyn
Subject: Re: "Guide notes"
Date: Tue, 7 Nov 2017 18:02:09 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0



Am 07.11.2017 um 16:45 schrieb David Wright:
Thanks for the replies. I did try specifying a chord, but the
"pitch" parameter won't take it.

That’s because I didn’t know that you wanted chords … Of course it’s possible to specify a chord, see the following code. There’s only one reason I first only allowed pitches: You then wouldn’t have to input the duration.


%%%%%%%%%%%%%%%%%%%%%%%%%%%

\version "2.19.80"

enharmonicGuide =
#(define-music-function (music guide) (ly:music? ly:music?)
   #{
     \afterGrace #music {
       \once \omit Stem
       \override ParenthesesItem.font-size = -1
       \override ParenthesesItem.padding = 0.1
       \parenthesize
       #guide
     }
   #})

afterGraceFraction = 15/16

\relative {
  <d'' fis>2 \enharmonicGuide <dis fisis> <es g>4
  <c es>2 <a c>
}

%%%%%%%%%%%%%%%%%%%%%%%%%%%



reply via email to

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