-\version "2.12.0"
+\version "2.19.29"
+
+"\\=" =
+#(define-event-function (id event) (key? ly:event?)
+ (_i "This sets the @code{spanner-id} property of the following
+@var{event} to the given @var{id} (non-negative integer or symbol).
+This can be used to tell LilyPond how to connect overlapping
+or parallel slurs or phrasing slurs within a single @code{Voice}.
+@lilypond[quote,verbatim]
+\\fixed c' { c\\=1( d\\=2( e\\=1) f\\=2) }
+@end lilypond\n")
+ (set! (ly:music-property event 'spanner-id) id)
+ event)
startGroup = #(make-span-event 'NoteGroupingEvent START)
stopGroup = #(make-span-event 'NoteGroupingEvent STOP)
cr = #(make-span-event 'CrescendoEvent START)
decr = #(make-span-event 'DecrescendoEvent START)
enddecr = #(make-span-event 'DecrescendoEvent STOP)
-endcr = #(make-span-event 'CrescendoEvent STOP)
+endcr = #(make-span-event 'CrescendoEvent STOP)
+
+
+startMeasureCount = #(make-span-event 'MeasureCounterEvent START)
+stopMeasureCount = #(make-span-event 'MeasureCounterEvent STOP)
startTextSpan = #(make-span-event 'TextSpanEvent START)
% Deprecated functions:
% TODO: DEPRECATED_2_13_19
deprecatedcresc = {
- #(ly:export (make-event-chord (list cr)))
+ $(make-event-chord (list cr))
\once \set crescendoText = \markup { \italic "cresc." }
\once \set crescendoSpanner = #'text
}
deprecateddim = {
- #(ly:export (make-event-chord (list decr)))
+ $(make-event-chord (list decr))
\once \set decrescendoText = \markup { \italic "dim." }
\once \set decrescendoSpanner = #'text
}
deprecatedenddim = {
- #(ly:export (make-event-chord (list enddecr)))
-% \unset decrescendoText
-% \unset decrescendoSpanner
+ $(make-event-chord (list enddecr))
+% \unset decrescendoText
+% \unset decrescendoSpanner
}
deprecatedendcresc = {
- #(ly:export (make-event-chord (list endcr)))
-% \unset crescendoText
-% \unset crescendoSpanner
+ $(make-event-chord (list endcr))
+% \unset crescendoText
+% \unset crescendoSpanner
}
}
crescHairpin = {
- \unset crescendoText
- \unset crescendoSpanner
+ \unset crescendoText
+ \unset crescendoSpanner
}
dimHairpin = {
- \unset decrescendoText
- \unset decrescendoSpanner
+ \unset decrescendoText
+ \unset decrescendoSpanner
}
%dim = \set crescendoText = "dim."
newSpacingSection = #(make-event-chord (list (make-music 'SpacingSectionEvent)))
+
+breakDynamicSpan = #(make-music 'BreakDynamicSpanEvent)