lilypond-user
[Top][All Lists]
Advanced

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

Re: Apply \editionMod to grace note


From: David Nalesnik
Subject: Re: Apply \editionMod to grace note
Date: Thu, 26 Nov 2015 08:46:57 -0600

Hi,

On Thu, Nov 26, 2015 at 8:14 AM, Kieren MacMillan <address@hidden> wrote:
Hi Urs,

> is there a way to apply an \editionMod to a grace note or acciaccatura?
> What would be the proper "moment" of that?

I’m not sure, but I would like to know!

I’d also like to know how to address a partial (“pickup”) measure.
I’ve asked before, but did not receive an answer.

Sorry I couldn’t be of more help!
Kieren.

Is the edition engraver able to accept moments specified by ly:make-moment?  If so, you can specify a moment using optional arguments.

For example, the grace moment in the following snippet (see console display):

\version "2.19.30"

{
  c''4
  \once \override NoteHead.after-line-breaking =
  #(lambda (grob)
     (display (grob::when grob))
     (newline))
                                                    
  \grace c''8
  d''2.
}

can be created this way:

#(display (ly:make-moment 1 4 -1 8)) 

See the description of ly:make-moment in the IR (Scheme functions).

HTH,
David

reply via email to

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