From: John Mandereau Date: Wed, 27 Aug 2008 11:45:30 +0000 (+0200) Subject: Rename autobeaming regression test X-Git-Tag: release/2.11.58-1~32^2~12^2~6 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=2c5ed7abc3c89ca4cbb2cef2b75e2445d7b3b653;p=lilypond.git Rename autobeaming regression test The old name didn't follow the regression test file naming convention; the new name makes more obvious that it has to do with *automatic* beams, and it places the test among other autobeaming-related tests in the regression tests output. --- diff --git a/input/regression/auto-beam-beat-grouping.ly b/input/regression/auto-beam-beat-grouping.ly new file mode 100644 index 0000000000..1020d4216a --- /dev/null +++ b/input/regression/auto-beam-beat-grouping.ly @@ -0,0 +1,30 @@ +\version "2.11.57" +\header { + + texidoc = "Autobeaming will break beams according to beatGrouping +if the total length of the beat groups is equal to measureLength. +Otherwise, it will break beams according to beatLength." +} + +{ + \time 12/16 + + % default beatLength is 1/16; beatGrouping for this time is '() + b16 b b b b b b b b b b b % beatlength is used to breatk these beams + % use beatGrouping to get 1/8 groups + \set Timing.beatGrouping = #'(2 2 2 2 2 2) % 6*2 = 12 so beatGrouping applies + b16 b b b b b b b b b b b % beam groups are 1/8 + % use beatLength to get 1/8 groups -- beatGrouping no longer applies + \set Score.beatLength = #(ly:make-moment 2 16 ) % 12*2/16 = 24/16 + % bad beatGrouping; use + % beatLength (1/8 notes) + b16 b b b b b b b b b b b + % make custom beatGrouping + \set Timing.beatGrouping = #'(3 1 2) % 6*2/16 = 12/16 + b16 b b b b b b b b b b b + % change beatLength + \set Score.beatLength = #(ly:make-moment 3 16 ) % 6*3/16 = 18/16; use beatLength + b16 b b b b b b b b b b b + \set Score.beatLength = #(ly:make-moment 4 16 ) % 6*4/16 = 24/16; use beatLength + b16 b b b b b b b b b b b +} diff --git a/input/regression/beatGrouping.ly b/input/regression/beatGrouping.ly deleted file mode 100644 index 1020d4216a..0000000000 --- a/input/regression/beatGrouping.ly +++ /dev/null @@ -1,30 +0,0 @@ -\version "2.11.57" -\header { - - texidoc = "Autobeaming will break beams according to beatGrouping -if the total length of the beat groups is equal to measureLength. -Otherwise, it will break beams according to beatLength." -} - -{ - \time 12/16 - - % default beatLength is 1/16; beatGrouping for this time is '() - b16 b b b b b b b b b b b % beatlength is used to breatk these beams - % use beatGrouping to get 1/8 groups - \set Timing.beatGrouping = #'(2 2 2 2 2 2) % 6*2 = 12 so beatGrouping applies - b16 b b b b b b b b b b b % beam groups are 1/8 - % use beatLength to get 1/8 groups -- beatGrouping no longer applies - \set Score.beatLength = #(ly:make-moment 2 16 ) % 12*2/16 = 24/16 - % bad beatGrouping; use - % beatLength (1/8 notes) - b16 b b b b b b b b b b b - % make custom beatGrouping - \set Timing.beatGrouping = #'(3 1 2) % 6*2/16 = 12/16 - b16 b b b b b b b b b b b - % change beatLength - \set Score.beatLength = #(ly:make-moment 3 16 ) % 6*3/16 = 18/16; use beatLength - b16 b b b b b b b b b b b - \set Score.beatLength = #(ly:make-moment 4 16 ) % 6*4/16 = 24/16; use beatLength - b16 b b b b b b b b b b b -}