lilypond-user
[Top][All Lists]
Advanced

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

Re: Exact stem length?


From: Urs Liska
Subject: Re: Exact stem length?
Date: Wed, 26 Mar 2014 09:38:59 +0100
User-agent: Mozilla/5.0 (X11; Linux i686; rv:24.0) Gecko/20100101 Thunderbird/24.4.0

Am 25.03.2014 13:45, schrieb Fredrik Wallberg:
...a way to override the distance between notehead and stem...

\override Stem.Y-offset = 2

(Sorry about the typos in my last message -- I wrote "beam lenghts"; I
meant "stem lengths of beamed notes".)



This works basically.
The attached image is the result of manually offsetting the stem for every second note (i.e. any repeated pitch) by 0.25.

Of course that's an inacceptable amount of manual work for a general solution. I think for a function it would be better to

- print the initial pitch
- print the last note at its pitch (without notehead of course)
- repeat the initial pitch for all intermediate events and
- calculate the offsets as a linear function.

Urs

Attachment: no-notehead-gliss.png
Description: PNG image


reply via email to

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