lilypond-user
[Top][All Lists]
Advanced

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

Re: Calculate BarLine 'kern to fit with a given stencil-x-extent


From: David Kastrup
Subject: Re: Calculate BarLine 'kern to fit with a given stencil-x-extent
Date: Wed, 10 Jul 2013 07:05:19 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)

Thomas Morley <address@hidden> writes:

> 2013/7/6 Pierre Perol-Schneider <address@hidden>:
>> 2013/7/5 Pierre Perol-Schneider <address@hidden>
>>>
>>>
>>> kern =x-length*1,4*EXP(-(LN(0,14)/LN(20)*LN(Staff-Size)))
>
> So far as I can observe the calculations isn't exact: with higher or
> lower staff-size values it goes increasingly wrong.
> Did I something wrong while tranforming your calculation into scheme?

I think the above is just a curve fitting, not a model of what LilyPond
actually does.  So it's not surprising it goes wrong for larger/smaller
values.

-- 
David Kastrup




reply via email to

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