]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/regression/chord-tremolo-other-commands.ly
Imported Upstream version 2.14.2
[lilypond.git] / input / regression / chord-tremolo-other-commands.ly
diff --git a/input/regression/chord-tremolo-other-commands.ly b/input/regression/chord-tremolo-other-commands.ly
new file mode 100644 (file)
index 0000000..3096e7e
--- /dev/null
@@ -0,0 +1,24 @@
+\version "2.14.2"
+
+\header {
+  texidoc = "
+To calculate the total duration of chord tremolos, only real notes shall be
+counted, no other commands.
+"
+}
+
+right = \relative c'' {
+  s2
+}
+
+left = \relative c' {
+  % This tremolo contains just two notes (but three lilypond events/commands!)
+  \repeat tremolo 4 { f,16 \change Staff = "right" f'}
+}
+
+\score {
+  \new PianoStaff <<
+    \new Staff = "right" { \right }
+    \new Staff = "left" { \clef bass \left }
+  >>
+}