]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/new/setting-hairpin-behavior-at-bar-lines.ly
Neil's patch for hairpin to bar line.
[lilypond.git] / input / new / setting-hairpin-behavior-at-bar-lines.ly
diff --git a/input/new/setting-hairpin-behavior-at-bar-lines.ly b/input/new/setting-hairpin-behavior-at-bar-lines.ly
new file mode 100644 (file)
index 0000000..5650871
--- /dev/null
@@ -0,0 +1,17 @@
+\version "2.11.46"\r
+\header {\r
+  lsrtags = "expressive-marks"\r
+  texidoc = "If the note which ends a hairpin falls on a downbeat,\r
+the hairpin stops at the bar line immediately preceding.  This behavior\r
+can be controlled by overriding the @code{'to-barline} property.\r
+"\r
+  doctitle = "Setting hairpin behavior at bar lines"\r
+}\r
+\r
+\relative c'' {\r
+  e4\< e2.\r
+  e1\!\r
+  \override Hairpin #'to-barline = ##f\r
+  e4\< e2.\r
+  e1\!\r
+}\r