diff options
author | Reinhold Kainhofer <reinhold@kainhofer.com> | 2010-02-17 18:41:44 +0100 |
---|---|---|
committer | Reinhold Kainhofer <reinhold@kainhofer.com> | 2010-02-23 22:32:02 +0100 |
commit | ea6932dfbcb81227b3f4fe1fa7f8b2924e23e5f4 (patch) | |
tree | 390137cbdcc3433a1941a9f645c3dd4e4d32722a | |
parent | d11391be1d680943ceec423f39908ae3c2a780b7 (diff) |
FiguredBass: regtests for different duration than bass; ignore figures on rests
-rw-r--r-- | input/regression/figured-bass-durations.ly | 29 | ||||
-rw-r--r-- | input/regression/figured-bass-ignore-rest.ly | 37 |
2 files changed, 66 insertions, 0 deletions
diff --git a/input/regression/figured-bass-durations.ly b/input/regression/figured-bass-durations.ly new file mode 100644 index 0000000000..bd191d6040 --- /dev/null +++ b/input/regression/figured-bass-durations.ly @@ -0,0 +1,29 @@ +\version "2.12.0" + +\header { + + texidoc = "Bass figures and extenders shall also work correctly if the +figure has a different duration than the bass note. In particular, if a +timestep does not have a new figure (because the old figure still goes on), +extenders should be drawn and not be reset. +" + +} + + +\paper { ragged-right = ##t } + + +<< + \context Voice << + { + \clef bass + c4 c c c | c c c c | + } + \figuremode { + <3>2 <3> \set Staff.useBassFigureExtenders = ##t <3> \set Staff.useBassFigureExtenders = ##f <3> + } + >> +>> + + diff --git a/input/regression/figured-bass-ignore-rest.ly b/input/regression/figured-bass-ignore-rest.ly new file mode 100644 index 0000000000..1a9b4d5677 --- /dev/null +++ b/input/regression/figured-bass-ignore-rest.ly @@ -0,0 +1,37 @@ +\version "2.12.0" + +\header { + + texidoc = "When figures appear inside a voice, @code{ignoreFiguredBassRest} + causes all figures on rests to be discarded and all spanners ended. + If set to @code{##f}, figures on rests are printed. +" + +} + + +\paper { ragged-right = ##t } + + +<< + \new Voice << + { + \clef bass + c4 r c r | + c4 r c r | + c4 r c r | + } + \figuremode { + % Default: + <3>4 <3> <3> \set Staff.useBassFigureExtenders = ##t <3> \set Staff.useBassFigureExtenders = ##f | + % ignore figures on rests, regardless of extenders + \set Staff.ignoreFiguredBassRest = ##t + <3>4 <3> <3> \set Staff.useBassFigureExtenders = ##t <3> \set Staff.useBassFigureExtenders = ##f | + % print figures on rests, regardless of extenders + \set Staff.ignoreFiguredBassRest = ##f + <3>4 <3> <3> \set Staff.useBassFigureExtenders = ##t <3> \set Staff.useBassFigureExtenders = ##f | + } + >> +>> + + |