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: Urs Liska
Subject: Re: Apply \editionMod to grace note
Date: Thu, 26 Nov 2015 15:57:39 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0



Am 26.11.2015 um 15:46 schrieb David Nalesnik:
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? 

I don't think so. But I assume that it produces such a moment in its input stage. And if so I should be able to add the option.

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).


Thank you for these hints. Maybe I can make something from it.

Best
Urs

HTH,
David


_______________________________________________
lilypond-user mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/lilypond-user


reply via email to

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