[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Newbie event question
From: |
David Kastrup |
Subject: |
Re: Newbie event question |
Date: |
Sat, 20 Oct 2018 00:35:00 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) |
Jacques Menu <address@hidden> writes:
> Hello folks,
>
> IIUC, at some point in its work, LilyPond represents the music as a
> sequene of events, each with a position in time and a duration.
>
> How are the grace notes handled in that context? They are actually
> displayed and played, but their duration is not taken into account in
> the duration of measures.
Times are represented as a sum of main time and grace time. Grace notes
have a main time duration of zero and a grace time duration of their
length. The last grace note in a group ends at a grace time of zero
(and the respective main time), so grace notes always start at a
_negative_ grace time before the respective main note (which has a grace
time of zero at both its start and end).
--
David Kastrup