|
|
GNU LilyPondWelcome to the home of the GNU Music Typesetter |
||||||||||
|
Node:spacing-spanner-interface, Next:span-bar-interface, Previous:spaceable-element-interface, Up:LilyPond interfaces spacing-spanner-interfaceSPACE = arithmetic_multiplier * ( C + log2 (TIME) )) The space taken by a note is determined by the formula where TIME is the amount of time a note occupies. The value of C is chosen such that the smallest space within a measure is arithmetic_basicspace: C = arithmetic_basicspace - log2 (mininum (SHORTEST, 1/8)) The smallest space is the one following the shortest note in the
measure, or the space following a hypothetical 1/8 note. Typically
arithmetic_basicspace is set to a value so that the shortest note
takes about two noteheads of space (ie, is followed by a notehead of
space):
2*quartwidth = arithmetic_multiplier * ( C + log2 (SHORTEST) ))
{ using: C = arithmetic_basicspace - log2 (mininum (SHORTEST, 1/8)) }
{ assuming: SHORTEST <= 1/8 }
= arithmetic_multiplier *
( arithmetic_basicspace - log2 (SHORTEST) + log2 (SHORTEST) )
= arithmetic_multiplier * arithmetic_basicspace
{ choose: arithmetic_multiplier = 1.0*quartwidth (why?) }
= quartwidth * arithmetic_basicspace
=>
arithmetic_basicspace = 2/1 = 2
If you want to space your music wider, use something like:
arithmetic_basicspace = 4.;
|
||||||||||
|
Go back to index of LilyPond.
Please send GNU LilyPond questions and comments to lilypond-user@gnu.org. Please send comments on these web pages to lilypond@packages.debian.org Copyright (c) 1997--2001 Han-Wen Nienhuys and Jan Nieuwenhuizen. Verbatim copying and distribution of this entire article is permitted in any medium, provided this notice is preserved. |
|||||||||||
This page was built from LilyPond-1.4.12 (stable-branch) by