----- Original Message ----- From: "Reinhold Kainhofer" <reinh...@kainhofer.com>
To: <lilypond-u...@gnu.org>
Cc: "Lilypond Bugreports" <bug-lilypond@gnu.org>
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


_______________________________________________
bug-lilypond mailing list
bug-lilypond@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-lilypond

Reply via email to