lilypond-user
[Top][All Lists]
Advanced

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

Re: Strange \repeat tremolo


From: Reinhold Kainhofer
Subject: Re: Strange \repeat tremolo
Date: Mon, 30 May 2011 14:56:24 +0200
User-agent: KMail/1.13.6 (Linux/2.6.38-9-generic; KDE/4.6.2; i686; ; )

Am Montag, 30. Mai 2011, 10:56:16 schrieb Mario Moles:
> Hi to all!
> In this code "\repeat tremolo" and "\change staff"
> don't work fine: why?

That's simply a bug in the tremolo code: It counts all elements of the tremolo 
and assumes all of them are notes. So in the first case, LilyPond sees three 
events (two notes plus the staff change), assumes they are all notes and 
correspondingly adds the dot...

This problem deserves a bug report...
Can the attached (stripped-down) testcase be added to the report, too?

Codewise, the problem lies in scm/music-functions.scm, function make-repeat, 
line 281:
   (length (ly:music-property main 'elements))
instead of checking whether all elements are really notes.

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

Attachment: tremolo_staffchange.ly
Description: Text Data


reply via email to

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