From 96b15d6cdd6cedd2860135d6095695de4853d1fd Mon Sep 17 00:00:00 2001 From: Dan Eble Date: Mon, 4 Jul 2016 11:18:55 -0400 Subject: [PATCH] Issue 4048 (5/5) Add midi regtests covering depart-return crescendo performance --- .../midi/crescendo-gap-compatible-target.ly | 18 ++++++++++++++++++ .../midi/crescendo-return-louder-target.ly | 11 +++++++++++ .../midi/crescendo-return-softer-target.ly | 11 +++++++++++ .../decrescendo-multiple-compatible-target.ly | 12 ++++++++++++ 4 files changed, 52 insertions(+) create mode 100644 input/regression/midi/crescendo-gap-compatible-target.ly create mode 100644 input/regression/midi/crescendo-return-louder-target.ly create mode 100644 input/regression/midi/crescendo-return-softer-target.ly create mode 100644 input/regression/midi/decrescendo-multiple-compatible-target.ly 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 {} +} -- 2.39.5