From f2bb61843cdd3e049945c4b56b80089eefb3f7a4 Mon Sep 17 00:00:00 2001 From: Marc Hohl Date: Sat, 22 Aug 2009 14:28:58 -0600 Subject: [PATCH] Add regtests for automatic polyphony in DrumStaff and TabStaff contexts --- .../automatic-polyphony-drumstaff.ly | 15 +++++++++++++++ .../regression/automatic-polyphony-tabstaff.ly | 18 ++++++++++++++++++ 2 files changed, 33 insertions(+) create mode 100644 input/regression/automatic-polyphony-drumstaff.ly create mode 100644 input/regression/automatic-polyphony-tabstaff.ly 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 -- 2.39.5