]> git.donarmstrong.com Git - lilypond.git/commitdiff
Issue 4048 (5/5) Add midi regtests covering depart-return crescendo performance
authorDan Eble <nine.fierce.ballads@gmail.com>
Mon, 4 Jul 2016 15:18:55 +0000 (11:18 -0400)
committerDan Eble <nine.fierce.ballads@gmail.com>
Tue, 19 Jul 2016 12:08:26 +0000 (08:08 -0400)
input/regression/midi/crescendo-gap-compatible-target.ly [new file with mode: 0644]
input/regression/midi/crescendo-return-louder-target.ly [new file with mode: 0644]
input/regression/midi/crescendo-return-softer-target.ly [new file with mode: 0644]
input/regression/midi/decrescendo-multiple-compatible-target.ly [new file with mode: 0644]

diff --git a/input/regression/midi/crescendo-gap-compatible-target.ly b/input/regression/midi/crescendo-gap-compatible-target.ly
new file mode 100644 (file)
index 0000000..38c19a3
--- /dev/null
@@ -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 (file)
index 0000000..f3fcb36
--- /dev/null
@@ -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 (file)
index 0000000..788724b
--- /dev/null
@@ -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 (file)
index 0000000..d066381
--- /dev/null
@@ -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 {}
+}