lilypond-user
[Top][All Lists]
Advanced

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

Re: Strange \repeat tremolo


From: Phil Holmes
Subject: Re: Strange \repeat tremolo
Date: Mon, 30 May 2011 14:37:58 +0100

----- Original Message ----- From: "Reinhold Kainhofer" <address@hidden>
To: <address@hidden>
Cc: "Lilypond Bugreports" <address@hidden>
Sent: Monday, May 30, 2011 1:56 PM
Subject: Re: Strange \repeat tremolo


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

http://code.google.com/p/lilypond/issues/detail?id=1676


--
Phil Holmes




reply via email to

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