David Nalesnik <[email protected]> writes:

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

I'd rather write (ly:make-moment 1/4 -1/8) here.  It's more readable in
my opinion.

-- 
David Kastrup

_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to