From 53390e0570f4544c131e77323cdc4f4ea738bddd Mon Sep 17 00:00:00 2001 From: James Lowe Date: Thu, 7 Apr 2011 16:29:20 +0100 Subject: [PATCH] Doc: Added @knownissue to Grace Notes for MIDI As per thread http://article.gmane.org/gmane.comp.gnu.lilypond.general/63450 When usuing MIDI with grace notes some manual tweaking made be required to get the 'correct' length of the grace note to be played. --- Documentation/notation/rhythms.itely | 36 +++++++++++++++++++++++----- 1 file changed, 30 insertions(+), 6 deletions(-) diff --git a/Documentation/notation/rhythms.itely b/Documentation/notation/rhythms.itely index 0a7a8568ba..7941854257 100644 --- a/Documentation/notation/rhythms.itely +++ b/Documentation/notation/rhythms.itely @@ -3207,9 +3207,9 @@ durations in the other staves. For the above example >> @end lilypond -The use of grace notes within voice contexts confuses the way the -voice is typeset. This can be overcome by inserting a rest or note -between the voice command and the grace note. +The use of grace notes within voice contexts confuses the way the voice +is typeset. This can be overcome by inserting a rest or note between the +voice command and the grace note. @lilypond[quote,verbatim] accMusic = { @@ -3234,9 +3234,33 @@ accMusic = { } @end lilypond -Grace sections should only be used within sequential music -expressions. Nesting or juxtaposing grace sections is not -supported, and might produce crashes or other errors. +Grace sections should only be used within sequential music expressions. +Nesting or juxtaposing grace sections is not supported, and might +produce crashes or other errors. + +Each grace note in MIDI output has a length of 1/4 of its actual +duration. If the combined length of the grace notes is greater than the +length of the preceding note a @qq{@code{Going back in MIDI time}} +error will be generated. Either make the grace notes shorter in +duration, for example: + +@example +\acciaccatura @{ c'8[ d' e' f' g'] @} +@end example + +becomes: + +@example +\acciaccatura @{ c'16[ d' e' f' g'] @} +@end example + +Or explicitly change the musical duration: + +@example +\acciaccatura @{ \scaleDurations #' (1 . 2) @{ c'8[ d' e' f' g'] @} @} +@end example + +See @ref{Scaling durations}. @node Aligning to cadenzas -- 2.39.5