lilypond-user
[Top][All Lists]
Advanced

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

Re: "Guide notes"


From: David Wright
Subject: Re: "Guide notes"
Date: Mon, 13 Nov 2017 20:32:42 -0600
User-agent: Mutt/1.5.21 (2010-09-15)

On Tue 07 Nov 2017 at 18:02:09 (+0100), Malte Meyn wrote:
> 
> 
> 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>
> }
> 
> %%%%%%%%%%%%%%%%%%%%%%%%%%%

That works well, thanks. The only difference from my published
example is that each note is individually parenthesised. But
that's perfectly fine for my sort of use: performance copies,
not publication.

Cheers,
David.



reply via email to

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