summaryrefslogtreecommitdiff
path: root/input
diff options
context:
space:
mode:
authorDan Eble <nine.fierce.ballads@gmail.com>2016-07-04 11:18:55 -0400
committerDan Eble <nine.fierce.ballads@gmail.com>2016-07-19 08:08:26 -0400
commit96b15d6cdd6cedd2860135d6095695de4853d1fd (patch)
tree8c8b1edda739e16047468043c65b471c4158605d /input
parent3f196c939480dbb2b82c4aeb5692c90c0677e67d (diff)
Issue 4048 (5/5) Add midi regtests covering depart-return crescendo performance
Diffstat (limited to 'input')
-rw-r--r--input/regression/midi/crescendo-gap-compatible-target.ly18
-rw-r--r--input/regression/midi/crescendo-return-louder-target.ly11
-rw-r--r--input/regression/midi/crescendo-return-softer-target.ly11
-rw-r--r--input/regression/midi/decrescendo-multiple-compatible-target.ly12
4 files changed, 52 insertions, 0 deletions
diff --git a/input/regression/midi/crescendo-gap-compatible-target.ly b/input/regression/midi/crescendo-gap-compatible-target.ly
new file mode 100644
index 0000000000..38c19a3d92
--- /dev/null
+++ b/input/regression/midi/crescendo-gap-compatible-target.ly
@@ -0,0 +1,18 @@
+\version "2.19.45"
+
+\header {
+ texidoc="When there is a gap between the end of a crescendo and a
+ subsequent explicit dynamic, the dynamic performer uses the explicit
+ dynamic as the target of the crescendo."
+
+ %% Note: Choosing this behavior simplified the implementation. In
+ %% the developer's opinion, it is difficult to argue that choosing a
+ %% target dynamic that under- or overshoots the explicit dynamic is
+ %% more correct.
+
+}
+
+\score {
+ { c\mf\< c\! c\f }
+ \midi {}
+}
diff --git a/input/regression/midi/crescendo-return-louder-target.ly b/input/regression/midi/crescendo-return-louder-target.ly
new file mode 100644
index 0000000000..f3fcb36233
--- /dev/null
+++ b/input/regression/midi/crescendo-return-louder-target.ly
@@ -0,0 +1,11 @@
+\version "2.19.45"
+
+\header {
+ texidoc="The dynamic performer chooses a reasonable peak dynamic and
+ returns to the specified dynamic."
+}
+
+\score {
+ { c\mf\< c\> c\f }
+ \midi {}
+}
diff --git a/input/regression/midi/crescendo-return-softer-target.ly b/input/regression/midi/crescendo-return-softer-target.ly
new file mode 100644
index 0000000000..788724be3f
--- /dev/null
+++ b/input/regression/midi/crescendo-return-softer-target.ly
@@ -0,0 +1,11 @@
+\version "2.19.45"
+
+\header {
+ texidoc="The dynamic performer chooses a reasonable peak dynamic and
+ returns to the specified dynamic."
+}
+
+\score {
+ { c\mf\< c\> c\p }
+ \midi {}
+}
diff --git a/input/regression/midi/decrescendo-multiple-compatible-target.ly b/input/regression/midi/decrescendo-multiple-compatible-target.ly
new file mode 100644
index 0000000000..d066381102
--- /dev/null
+++ b/input/regression/midi/decrescendo-multiple-compatible-target.ly
@@ -0,0 +1,12 @@
+\version "2.19.45"
+
+\header {
+ texidoc="The dynamic performer apportions changes to consecutive
+ decrescendi in proportion to their duration. In this case, 1/3 of
+ the change occurs over the first decrescendo."
+}
+
+\score {
+ { c\f\> c\! c2\> | c1\p }
+ \midi {}
+}