lilypond-user
[Top][All Lists]
Advanced

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

Re: Bug in articulate.ly + TrillSpan + full-measure rests


From: Davide Liessi
Subject: Re: Bug in articulate.ly + TrillSpan + full-measure rests
Date: Tue, 24 Feb 2015 12:32:33 +0100
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:31.0) Gecko/20100101 Thunderbird/31.4.0

Dear Peter,

Il 24/02/15 06.48, Peter Chubb ha scritto:
> I had a brainstorm -- the problem is SkipMusic which isn't handled
> anywhere.  But we can use a SkipEvent instead, and it all works!!!

Alas it does not: I get the same barcheck failures both in the minimal example 
I posted and in the real use case and the trill spanner still does not end.

Instead I tried to mimick in articulate.ly the workaround suggested by Joram 
(<>) and it seems to work: I get correct trills and no barcheck warnings.

Do you think that this could be added to the LilyPond version of articulate.ly?


diff --git a/ly/articulate.ly b/ly/articulate.ly
index bbfea19..68999e4 100644
--- a/ly/articulate.ly
+++ b/ly/articulate.ly
@@ -486,6 +486,8 @@
       (make-sequential-music
        (list
        (make-music 'BarCheck)
+       (make-music 'EventChord
+         'elements (ly:music-property m 'articulations))
        (make-music 'SkipMusic 'duration (ly:music-property m 'duration))
        (make-music 'BarCheck))))
      (else


Anyway, thanks for the pointer and for trying.
Best wishes.
Davide



reply via email to

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