summaryrefslogtreecommitdiff
path: root/input
diff options
context:
space:
mode:
authorMike Solomon <mike@apollinemike.com>2012-09-10 08:53:09 +0200
committerMike Solomon <mike@apollinemike.com>2012-09-10 08:53:09 +0200
commit6c98920d868524eee3e809578ad4389d409a566a (patch)
treef17309a48297119ac023bf022ed95646742c1206 /input
parenta9a451e2316c2e94815e33d51eb42eaae3649384 (diff)
Avoids script-tie collisions
Ties are now issued at their correct beginning time step and are suicided if they are ultimately unused. This allows the Script_engraver to acknowledge them at the correct timestep and register them as supports for the side-position-interface.
Diffstat (limited to 'input')
-rw-r--r--input/regression/script-tie-collision.ly23
1 files changed, 23 insertions, 0 deletions
diff --git a/input/regression/script-tie-collision.ly b/input/regression/script-tie-collision.ly
new file mode 100644
index 0000000000..0b1c837e0e
--- /dev/null
+++ b/input/regression/script-tie-collision.ly
@@ -0,0 +1,23 @@
+\version "2.17.2"
+
+\header {
+ texidoc = "Scripts avoid ties.
+"
+}
+
+% Managing what note heads' scripts have been accounted for in
+% the Tie_engraver is tricky.
+% This regtest tries to confuse it with various configurations
+% Of notes with and without ties, with multiple scripts, etc..
+
+\relative c''' {
+ r2. c4~-> | c-> r2. |
+ r2. c4-> | c-> r2. |
+ r2. c4~-> | c r2. |
+ r2. c4~ | c-> r2. | \break
+ r2. <g-- c-> >4--~ | <g-- c>-> ~ <g c---_>-> r2 |
+ r2. c4~ | c-> ~ c-> r2 |
+ r2. c4~-> | c ~ c-> r2 |
+ r2. c4~-> | c-> ~ c r2 |
+ r2. c4-> |
+}