bug-lilypond
[Top][All Lists]
Advanced

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

Re: Issue 1216 in lilypond: DynamicTextSpanners should end like hairpins


From: lilypond
Subject: Re: Issue 1216 in lilypond: DynamicTextSpanners should end like hairpins
Date: Fri, 13 Aug 2010 20:59:50 +0000


Comment #4 on issue 1216 by n.puttock: DynamicTextSpanners should end like hairpins
http://code.google.com/p/lilypond/issues/detail?id=1216

So, it sounds like the hairpin code needs to treat spanners like hairpins?

Nope, that would make things worse: the padding between adjacent hairpins is larger by a factor of three.

Ideally, hairpins would support something similar to 'bound-details for line spanners, though a quick hack would be to split bound-padding into left- and right-padding.

In the meantime, what's the best workaround? Decreasing the bound-padding for the hairpin?

You can only do this if it doesn't affect the padding at the end opposite the bad spacing; for example, your first case in the snippet above needs negative padding on the left, but this will cause the tip of the hairpin to collide with the `piano' dynamic.

One solution would be to use a TextSpanner instead: you can change its defaults so it looks just like a DynamicTextSpanner. The only issues here would be the missing alignment (since it wouldn't be collected onto a DynamicLineSpanner with hairpins and text dynamics) and lack of midi.




reply via email to

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