]> git.donarmstrong.com Git - lilypond.git/commitdiff
Issue 4048 (1/5) Add some midi regtests
authorDan Eble <nine.fierce.ballads@gmail.com>
Sat, 2 Jul 2016 15:12:46 +0000 (11:12 -0400)
committerDan Eble <nine.fierce.ballads@gmail.com>
Tue, 19 Jul 2016 11:50:08 +0000 (07:50 -0400)
Replace crescendo-abutting with variations crescendo-return-crescendo
and crescendo-return-unspecified-target.

input/regression/midi/crescendo-abutting.ly [deleted file]
input/regression/midi/crescendo-return-crescendo.ly [new file with mode: 0644]
input/regression/midi/crescendo-return-unspecified-target.ly [new file with mode: 0644]
input/regression/midi/crescendo-single-compatible-target.ly [new file with mode: 0644]
input/regression/midi/crescendo-single-unspecified-target.ly [new file with mode: 0644]

diff --git a/input/regression/midi/crescendo-abutting.ly b/input/regression/midi/crescendo-abutting.ly
deleted file mode 100644 (file)
index da0ff4f..0000000
+++ /dev/null
@@ -1,10 +0,0 @@
-\version "2.19.44"
-
-\header {
-  texidoc="One (de)crescendo ends as the next begins."
-}
-
-\score {
-   { c\< c\> c\! }
-   \midi {}
-}
diff --git a/input/regression/midi/crescendo-return-crescendo.ly b/input/regression/midi/crescendo-return-crescendo.ly
new file mode 100644 (file)
index 0000000..4ab8dac
--- /dev/null
@@ -0,0 +1,12 @@
+\version "2.19.44"
+
+\header {
+  texidoc="The dynamic performer chooses a reasonable peak dynamic and
+  returns to the original dynamic.  The latter, extreme crescendo does
+  not affect the former."
+}
+
+\score {
+   { c\mf\< c\> c\< c\sf }
+   \midi {}
+}
diff --git a/input/regression/midi/crescendo-return-unspecified-target.ly b/input/regression/midi/crescendo-return-unspecified-target.ly
new file mode 100644 (file)
index 0000000..065f674
--- /dev/null
@@ -0,0 +1,11 @@
+\version "2.19.44"
+
+\header {
+  texidoc="The dynamic performer chooses a reasonable peak dynamic and
+  returns to the original dynamic."
+}
+
+\score {
+   { c\mf\< c\> c\! }
+   \midi {}
+}
diff --git a/input/regression/midi/crescendo-single-compatible-target.ly b/input/regression/midi/crescendo-single-compatible-target.ly
new file mode 100644 (file)
index 0000000..fcc0f5a
--- /dev/null
@@ -0,0 +1,11 @@
+\version "2.19.44"
+
+\header {
+  texidoc="The velocity of notes during a crescendo is linearly
+  interpolated between the starting and target dynamics."
+}
+
+\score {
+   { c\mf\< c c\f }
+   \midi {}
+}
diff --git a/input/regression/midi/crescendo-single-unspecified-target.ly b/input/regression/midi/crescendo-single-unspecified-target.ly
new file mode 100644 (file)
index 0000000..d995609
--- /dev/null
@@ -0,0 +1,11 @@
+\version "2.19.44"
+
+\header {
+  texidoc="If no explicit dynamic follows a crescendo, the dynamic
+  performer chooses a reasonable target dynamic."
+}
+
+\score {
+   { c\mf\< c\! }
+   \midi {}
+}