[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Broken stem tremolos
From: |
Reinhold Kainhofer |
Subject: |
Re: Broken stem tremolos |
Date: |
Wed, 14 Jul 2010 02:15:36 +0200 |
User-agent: |
KMail/1.13.5 (Linux/2.6.32-23-generic; KDE/4.4.5; i686; ; ) |
Am Mittwoch, 14. Juli 2010, um 00:18:32 schrieb Neil Puttock:
> Hi Reinhold,
>
> I've been looking at Haipeng's `Harmonious' score, and it's thrown up
> a problem with single note tremolos when they're not sequential:
>
> \repeat tremolo 4 c16
>
> works fine, but
>
> \repeat tremolo 4 c16\mf
>
> results in an incorrectly scaled note, since `make-repeat' reads the
> dynamic as the second child of the repeated music (the same happens
> with other events encapsulated in the EventChord, such as
> articulations).
Ah, good catch!
> I've added a patch which fixes this by setting the child-count
> correctly. Does it look OK?
Yes, it makes sense. I've pushed it and also added two regtest cases to check
for correct scaling with articulations/dynamics on notes inside a tremolo
repeat.
Cheers,
Reinhold
--
------------------------------------------------------------------
Reinhold Kainhofer, address@hidden, http://reinhold.kainhofer.com/
* Financial & Actuarial Math., Vienna Univ. of Technology, Austria
* http://www.fam.tuwien.ac.at/, DVR: 0005886
* LilyPond, Music typesetting, http://www.lilypond.org