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: Peter Chubb
Subject: Re: Bug in articulate.ly + TrillSpan + full-measure rests
Date: Tue, 24 Feb 2015 16:10:23 +1100
User-agent: Wanderlust/2.15.9 (Almost Unreal) SEMI-EPG/1.14.7 (Harue) FLIM/1.14.9 (Gojō) APEL/10.8 EasyPG/1.0.0 Emacs/24.4 (x86_64-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO)

>>>>> "Davide" == Davide Liessi <address@hidden> writes:

Davide> Dear Peter, Il 04/02/15 09.46, Peter Chubb ha scritto:
>> Looks like the code that was added to do agogic accents (aka swing)
>> expands MultiMeasureRestMusic and throws away any articulation
>> events (like the end of the trill spanner) on the way.
>> 
>> The fix is probably to add the ariculations in at the end of
>> ac:unFoldMusic when expanding MultiMeasureRestMusic.

Davide> How can I do this?

Not sure ...

I tried this, but it didn't work --- more investiagtion (that I don;t
have time for at present is needed:
diff --git a/ly/articulate.ly b/ly/articulate.ly
index bbfea19..48a8535 100644
--- a/ly/articulate.ly
+++ b/ly/articulate.ly
@@ -486,7 +486,8 @@
       (make-sequential-music
        (list
        (make-music 'BarCheck)
-       (make-music 'SkipMusic 'duration (ly:music-property m 'duration))
+       (make-music 'SkipMusic 'duration (ly:music-property m 'duration)
+        'articulations (ly:music-property m 'articulations))
        (make-music 'BarCheck))))
      (else
       m)))
@@ -538,7 +539,7 @@
       ((BeamEvent) ; throw away beam events, or they'll be duplicated by turn 
or trill
        (loop factor newelements tail actions))
 
-      ((LineBreakEvent FingeringEvent MarkEvent BreathingEvent TieEvent 
SkipEvent RestEvent) ; pass through some events.
+      ((SkipMusic LineBreakEvent FingeringEvent MarkEvent BreathingEvent 
TieEvent SkipEvent RestEvent) ; pass through some events.
        (loop (cons 1 1) (cons e newelements) tail actions))
 
       ((ArticulationEvent)
(END)



reply via email to

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