lilypond-user
[Top][All Lists]
Advanced

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

Re: How to adjust the padding between a StemTremolo and a NoteHead?


From: Malte Meyn
Subject: Re: How to adjust the padding between a StemTremolo and a NoteHead?
Date: Tue, 11 Aug 2015 13:52:03 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.8.0

Am 11.08.2015 um 10:00 schrieb Robin Bannister:
  Dominic wrote:

hoist = % for moving StemTremolo beams further from notehead
{
   \once \override Stem.length =
   #(lambda (grob) (+ 1 (ly:stem::calc-length grob)))
}


I made a scheme function from this that extends stems of quarter and half notes if they have a tremolo of 32nd or shorter notes (see attachment). Because I don’t know scheme well this looks like sort of spaghetti code to me and might break soon; sorry for that, maybe it could be improved.

Comment indicates I had reservations about 'unpure only'.
Someone else might be able to explain that.


I don’t know what this is so I don’t understand David’s answer. I read NR 5.5.5 but I don’t see how this has to do with our problem …

Attachment: unstrangleTremolos.ly
Description: Text Data

Attachment: unstrangleTremolos.pdf
Description: Adobe PDF document


reply via email to

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