]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/regression/midi/key-option-all-staves.ly
resolve merge
[lilypond.git] / input / regression / midi / key-option-all-staves.ly
diff --git a/input/regression/midi/key-option-all-staves.ly b/input/regression/midi/key-option-all-staves.ly
new file mode 100644 (file)
index 0000000..2ba3fa8
--- /dev/null
@@ -0,0 +1,24 @@
+\version "2.14.0"
+
+\header {
+texidoc="Midi2ly --key works on all staves, this is G major (--key=1)"
+options="--key=1"
+}
+
+\score {
+  <<
+    \context Staff = "treble" <<
+      \context Voice="one" \relative c'' {
+       fis
+      }
+    >>
+    \context Staff = "bass" <<
+      \context Voice="two" \relative c {
+       \clef bass
+       fis
+      }
+    >>
+  >>
+  \layout {}
+  \midi {}
+}