bug-lilypond
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: proportional notation bug


From: Han-Wen Nienhuys
Subject: Re: proportional notation bug
Date: Sun, 03 Dec 2006 16:48:29 +0100
User-agent: Thunderbird 1.5.0.8 (X11/20061107)

Orm Finnendahl escreveu:
> Spacing of proportional notation doesn't work as expected: When a measure
> doesn't contain any entries (or only very few) it is often far shorter than it
> ought to be. Changing the values of ly:make-moment in mid-score often results 
> in
> sometimes drastically different spacing for parts before the change occured. 
> The
> score at the following link probably has a reproducable bug:
> 
> http://icem-www.folkwang-hochschule.de/~finnendahl/download/violine-test.tgz
> 
> In order to set the example, typeset "gesamt.ly". Changing the values for the
> first ly:make-moment on line 10 of the file "seite1.ly" from "99" to "100" (or
> back) changes the spacing of the first line drastically.

I've updated the manual as follows. HTH


@node Proportional notation
@subsection Proportional notation
@cindex Proportional notation

Notes can be spaced proportionally to their time-difference by
assigning a duration to @code{proportionalNotationDuration}

@lilypond[quote,ragged-right,verbatim,relative=2,fragment]
<<
  \set Score.proportionalNotationDuration = #(ly:make-moment 1 16)
  \new Staff { c8[ c c c c c]  c4 c2 r2 }
  \new Staff { c2  \times 2/3 { c8 c c } c4 c1 }
>>
@end lilypond

Setting this property only affects the ideal spacing of notes on a
line.

For true proportional notation, the following settings are also
required

@itemize @bullet

@item true proportional notation requires that symbols are allowed to
overstrike each other.  That is achieved by removing the
@internalsref{Separating_line_group_engraver} from
@internalsref{Staff} context.

@item spacing influence of  prefatory matter (clefs, bar lines, etc.)
is removed by setting the @code{strict-note-spacing} property to
@code{#t} in @internalsref{SpacingSpanner} grob.

@item optical spacing tweaks are switched by setting 
@code{uniform-stretching} in @internalsref{SpacingSpanner} to true.
@end itemize

@seealso

@inputfileref{input/@/regression,spacing-proportional/.ly}
@inputfileref{input/@/regression,spacing-strict-notespacing/.ly}
@inputfileref{input/@/regression,spacing-strict-spacing-grace/.ly}

An example of strict proportional notation is in the
example file @file{input/proportional.ly}.



-- 

Han-Wen Nienhuys - address@hidden - http://www.xs4all.nl/~hanwen

LilyPond Software Design
 -- Code for Music Notation
http://www.lilypond-design.com





reply via email to

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