Hi,
I just read the current doc for subdividing beams. The “selected
snippet“ we have in the NR there (version 2.25.28) has some very wrong
beams (first attached screenshot) and it’s not easy to collate the
output shown with the input. I propose the improved snippet
below/attached. (output in second attached screenshot)
I don’t quite understand what the `respectIncompleteBeams' property is
supposed to achieve, yet, so I’d be glad for changes on that.
Sorry I can’t turn this into a MR myself right now.
The very best regards!
Simon
%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\version "2.25.28"
\relative c'' {
\time 1/4
<>^"none"
c32 c c c c c c c
<>^"default"
\set subdivideBeams = ##t
c32 c c c c c c c
<>^"min 1/8"
\once \set beamMinimumSubdivision = #1/8
c32 c c c c c c c
<>^"max 1/16"
\once \set beamMaximumSubdivision = #1/16
c32 c c c c c c c
<>^"max 3/8"
\once \set beamMaximumSubdivision = #3/8
\repeat unfold 16 c64
<>^"min 1/32, max 1/64"
% Set maximum beam subdivision interval to 1/64 to limit subdivision
depth,
% despite not being metrically correct
\once \set beamMinimumSubdivision = #1/32
\once \set beamMaximumSubdivision = #1/64
\repeat unfold 32 c128
\break
<>^"Beams shorter than beatBase"
c32 c c c c c c r32
c32 c c c c r16.
<>^"same with respectIncomplete"
% Respect the incomplete beams of the previous two examples
\set respectIncompleteBeams = ##t
c32 c c c c c c r32
% no visual change here as last two stems are exempt from this
% special rule
c32 c c c c r16.
}
\version "2.25.28"
\relative c'' {
\time 1/4
<>^"none"
c32 c c c c c c c
<>^"default"
\set subdivideBeams = ##t
c32 c c c c c c c
<>^"min 1/8"
\once \set beamMinimumSubdivision = #1/8
c32 c c c c c c c
<>^"max 1/16"
\once \set beamMaximumSubdivision = #1/16
c32 c c c c c c c
<>^"max 3/8"
\once \set beamMaximumSubdivision = #3/8
\repeat unfold 16 c64
<>^"min 1/32, max 1/64"
% Set maximum beam subdivision interval to 1/64 to limit subdivision depth,
% despite not being metrically correct
\once \set beamMinimumSubdivision = #1/32
\once \set beamMaximumSubdivision = #1/64
\repeat unfold 32 c128
\break
<>^"Beams shorter than beatBase"
c32 c c c c c c r32
c32 c c c c r16.
<>^"same with respectIncomplete"
% Respect the incomplete beams of the previous two examples
\set respectIncompleteBeams = ##t
c32 c c c c c c r32
% no visual change here as last two stems are exempt from this
% special rule
c32 c c c c r16.
}