X-Git-Url: https://git.donarmstrong.com/lilypond.git?a=blobdiff_plain;f=ly%2Fspanners.ly;h=331f11c75fa8837190a1a6b476ae6363324fa21c;hb=07dc00d6c83be5b05f5ec16f1ed36b1cf41b885c;hp=8af8a2e57df47f07a3fba56f31b6eb92ff92028e;hpb=890b76e892bd12a8983ac02812e2384caa392d12;p=lilypond.git diff --git a/ly/spanners.ly b/ly/spanners.ly index 8af8a2e57d..331f11c75f 100644 --- a/ly/spanners.ly +++ b/ly/spanners.ly @@ -6,23 +6,25 @@ decr = \spanrequest \start "decrescendo" rc = \spanrequest \stop "crescendo" rced = \spanrequest \stop "decrescendo" -%% urg, these don't work yet. -%% must set manually -xcresc = { -%\spanrequest \start "crescendo" -\property Voice.crescendoText = "cresc." -\property Voice.crescendoSpanner = "dashed" +cresc = \notes { + \commandspanrequest \start "crescendo" ; + \property Voice.crescendoText = "cresc." + \property Voice.crescendoSpanner = "dashed-line" } -xendcresc = { -%\spanrequest \start "crescendo" +endcresc = \notes { +\commandspanrequest \stop "crescendo"; \property Voice.crescendoText = ##f \property Voice.crescendoSpanner = ##f } +%{ + cresc = \spanrequest \start "crescendo" endcresc = \spanrequest \stop "crescendo" +%} + % better name sustainstart/stop? sustaindown = \spanrequest \start "Sustain" sustainup = \spanrequest \stop "Sustain"