summaryrefslogtreecommitdiff
path: root/input
diff options
context:
space:
mode:
authorDan Eble <nine.fierce.ballads@gmail.com>2016-06-15 18:54:53 -0400
committerDan Eble <nine.fierce.ballads@gmail.com>2016-08-06 17:43:48 -0400
commit980df8c5df55556b784d573f1c3d16bb9c8f3ab8 (patch)
tree758560310d9550bc3903383515b9b44ad14dd164 /input
parent00a48501c64c8babe77c2ebabcc42dae33a7c026 (diff)
Issue 4947: Link notes to dynamics in Dynamic_performer rather than
Staff_performer. Dynamics in different voices are now independent.
Diffstat (limited to 'input')
-rw-r--r--input/regression/midi/dynamic-voices-sequential.ly15
-rw-r--r--input/regression/midi/dynamic-voices-simultaneous.ly15
2 files changed, 30 insertions, 0 deletions
diff --git a/input/regression/midi/dynamic-voices-sequential.ly b/input/regression/midi/dynamic-voices-sequential.ly
new file mode 100644
index 0000000000..2d25b2d696
--- /dev/null
+++ b/input/regression/midi/dynamic-voices-sequential.ly
@@ -0,0 +1,15 @@
+\version "2.19.47"
+
+\header {
+ texidoc="The MIDI performer operates in Voice context by default,
+ so dynamics in different voices are independent."
+}
+
+\score {
+ \new Staff {
+ \new Voice = "A" c'2\p
+ \new Voice = "A" c'2 % default dynamic expected
+ }
+
+ \midi {}
+}
diff --git a/input/regression/midi/dynamic-voices-simultaneous.ly b/input/regression/midi/dynamic-voices-simultaneous.ly
new file mode 100644
index 0000000000..091dd68989
--- /dev/null
+++ b/input/regression/midi/dynamic-voices-simultaneous.ly
@@ -0,0 +1,15 @@
+\version "2.19.47"
+
+\header {
+ texidoc="The MIDI performer operates in Voice context by default,
+ so dynamics in different voices are independent."
+}
+
+\score {
+ \new Staff <<
+ \new Voice = "A" e'2\p
+ \new Voice = "A" c'2 % default dynamic expected
+ >>
+
+ \midi {}
+}