lilypond-user
[Top][All Lists]
Advanced

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

Re: Changing the length of partial beams


From: Sven Axelsson
Subject: Re: Changing the length of partial beams
Date: Thu, 30 Dec 2010 14:03:48 +0100

On 30 December 2010 10:45, Jan Warchoł
<address@hidden> wrote:
> 2010/12/29 Sven Axelsson <address@hidden>:
>> Since having great success in getting an answer for my last question
>> to the list, here's another:
>>
>> In a grace note sequence such as \grace { \small g32[ e8 d32] }, the
>> gap between the stem of the e8 and the beams of the 32 notes is very
>> small. Is there a tweak to increase this gap somewhat?
>
> You may wish to shorten the beamlets (the partial beams): \override
> Stem #'beamlet-default-length = #'(0.6 . 0.6)
> Unfortunately i don't know how to do this automatically only for grace
> notes and not for regular ones, and i don't know how it will affect
> the gap itself in your score.

Aha, perfect! This has been most fortunate. I have posed these
questions to the list previously, but couldn't get any good answers
then. Now both my remaining problems with achieving perfect bagpipe
notation have been adressed. Happy, happy, joy, joy!

And, for the record, my \pgrace function now looks like this:

pgrace = #(define-music-function (parser location notes) (ly:music?)
  #{ \override Score.GraceSpacing #'spacing-increment = #0
     \override Score.Stem #'beamlet-default-length = #'(0.6 . 0.6)
     \grace $notes
     \revert Score.Stem #'beamlet-default-length
  #}
)

Thanks a lot

-- 
Sven Axelsson
++++++++++[>++++++++++>+++++++++++>++++++++++>++++++
>++++<<<<<-]>++++.+.++++.>+++++.>+.<<-.>>+.>++++.<<.
+++.>-.<<++.>>----.<++.>>>++++++.<<<<.>>++++.<----.

Attachment: red_speckled_bull.pdf (page 1 of 3)-1.png
Description: PNG image


reply via email to

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