summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc Hohl <marc@hohlart.de>2009-08-22 14:28:58 -0600
committerCarl Sorensen <c_sorensen@byu.edu>2009-08-22 14:31:48 -0600
commitf2bb61843cdd3e049945c4b56b80089eefb3f7a4 (patch)
tree446ff6e81e20d91fa09f1e8a903e30a211807651
parent1a6e35eb67e9b1cb75a32b8c1f1ba47008812cb0 (diff)
Add regtests for automatic polyphony in DrumStaff and TabStaff contexts
-rw-r--r--input/regression/automatic-polyphony-drumstaff.ly15
-rw-r--r--input/regression/automatic-polyphony-tabstaff.ly18
2 files changed, 33 insertions, 0 deletions
diff --git a/input/regression/automatic-polyphony-drumstaff.ly b/input/regression/automatic-polyphony-drumstaff.ly
new file mode 100644
index 0000000000..9e4618579b
--- /dev/null
+++ b/input/regression/automatic-polyphony-drumstaff.ly
@@ -0,0 +1,15 @@
+\version "2.13.4"
+
+\header{ texidoc = "In a DrumStaff, automatic polyphony can be used without
+ explicitly initializing separate voices."
+ }
+
+\score {
+ \new DrumStaff {
+ \drummode {
+ bd4 sn4 bd4 sn4
+ << { \repeat unfold 16 hh16 } \\ { bd4 sn4 bd4 sn4 } >>
+ bd4 sn4 bd4 sn4
+ }
+ }
+} \ No newline at end of file
diff --git a/input/regression/automatic-polyphony-tabstaff.ly b/input/regression/automatic-polyphony-tabstaff.ly
new file mode 100644
index 0000000000..e696a082cb
--- /dev/null
+++ b/input/regression/automatic-polyphony-tabstaff.ly
@@ -0,0 +1,18 @@
+\version "2.13.4"
+
+\header{ texidoc = "In a TabStaff, automatic polyphony can be used without
+ explicitly initializing separate voices."
+ }
+
+test = {
+ c'1
+ << { c'4 d' e' f' } \\ { g,1 } >>
+ c'1
+}
+
+\score {
+ <<
+ \new Staff { \clef "treble_8" \test }
+ \new TabStaff { \test }
+ >>
+} \ No newline at end of file