lilypond-user
[Top][All Lists]
Advanced

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

Re: how to write a scheme function to override glissando properties


From: Marc Hohl
Subject: Re: how to write a scheme function to override glissando properties
Date: Mon, 20 Dec 2010 11:38:06 +0100
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.13) Gecko/20101208 Thunderbird/3.1.7

Am 19.12.2010 21:22, schrieb Patrick Schmidt:
[...]

The values for minimum-length in different contexts influence each other. The highest value wins. This is reasonable but unfortunately the glissandi staves and tab staves don't have the same length in print even when they were given the same value for minimum-length...
Ok, since the property is called minimum-length, of course the greater value wins - the note heads are spaced wide enough so that the greater amount of #'minimum-length
fits between. The shorter glissando line will be expanded appropriately...

Thinking about it, I think that the default bounds are too big for tablature.

Have a look at

http://lilypond.org/doc/v2.13/Documentation/internals/glissando

In #'bound-details, the padding is set to 1.5 * staff-space, and because the staff-space in tablature is 1.5 times the normal space, the glissando lines are way too far away from the fret numbers.
Setting these to 1 will improve the output.

\once \override TabVoice.Glissando #'bound-details = #'((right (attach-dir . 0) (padding . 1)) (left (attach-dir . 0) (padding . 1)))
a''2 \glissando e'

Regards,

Marc




reply via email to

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