From 67e17dbe2a15a4b94c89ff33aaa388a609a8a414 Mon Sep 17 00:00:00 2001 From: Reinhold Kainhofer Date: Wed, 14 Jul 2010 02:14:45 +0200 Subject: [PATCH] Chord tremolos: Add regtests for articulations on notes --- .../regression/chord-tremolo-articulations.ly | 22 +++++++++++++++++++ .../repeat-tremolo-one-note-articulation.ly | 19 ++++++++++++++++ 2 files changed, 41 insertions(+) create mode 100644 input/regression/chord-tremolo-articulations.ly create mode 100644 input/regression/repeat-tremolo-one-note-articulation.ly diff --git a/input/regression/chord-tremolo-articulations.ly b/input/regression/chord-tremolo-articulations.ly new file mode 100644 index 0000000000..7b862fc579 --- /dev/null +++ b/input/regression/chord-tremolo-articulations.ly @@ -0,0 +1,22 @@ +\version "2.12.0" + +\header{ +texidoc=" +Articulations on chord tremolos should not confuse the time-scaling of the +notes. In particular, only the number of real notes should be considered. +" +} + +\context Voice \relative c' { + \repeat "tremolo" 4 { d16\f e-. } + \repeat "tremolo" 4 { d16-> e } | \barNumberCheck #2 + \repeat "tremolo" 4 { d16 e\f } + \repeat "tremolo" 8 { d32\> e\! } | \barNumberCheck #3 + \repeat "tremolo" 2 { d8\trill e } + \repeat "tremolo" 2 { d8\sfz e } | \barNumberCheck #4 + + \time 2/4 + \repeat "tremolo" 8 { d32^"Markup" e } | \barNumberCheck #5 + c4 c4 +} + diff --git a/input/regression/repeat-tremolo-one-note-articulation.ly b/input/regression/repeat-tremolo-one-note-articulation.ly new file mode 100644 index 0000000000..5b5d6206bd --- /dev/null +++ b/input/regression/repeat-tremolo-one-note-articulation.ly @@ -0,0 +1,19 @@ +\version "2.13.28" + +\header { + texidoc = "A tremolo repeat containing only one note (no sequential music) + shall not be scaled. An articulation or dynamic sign on the note should not + confuse lilypond." +} + +\paper { ragged-right = ##t } +\score { + \new Staff \relative c'' { + \repeat tremolo 4 { a16 } + \repeat tremolo 4 { a16\f } + \repeat tremolo 4 a16 + \repeat tremolo 4 a16\f | + \repeat tremolo 4 a16\f-> + c2. | + } +} -- 2.39.2