--- /dev/null
+\version "2.15.34"
+
+\header {
+
+ doctitle = "Beam subdivide tuplets"
+
+ texidoc = "
+Tuplets that span more than one beat should be
+subdivided if subdivideBeams is #t. In this example,
+the beams should be subdivided every 1/8.
+"
+
+}
+
+\relative c' {
+ \set tupletSpannerDuration = #(ly:make-moment 1 4)
+ \set baseMoment = #(ly:make-moment 1 8)
+ \set subdivideBeams = ##t
+ \times 4/6 { \repeat unfold 24 { c16 } }
+}
Moment tuplet_moment (tuplet);
Moment tuplet_dt = infos_[i].start_moment_ - tuplet_start_moment;
tuplet_number = tuplet.den ();
- // set the beat end (if not in a tuplet) and increment the next beat
+ // set the beat end and increment the next beat
if (infos_[i].start_moment_ == next_beat_pos)
{
- if (tuplet_number == 1)
- {
- infos_[i].rhythmic_importance_ = -1;
- next_beat_pos += options.base_moment_;
- }
- if (infos_[i].tuplet_start_)
- infos_[i].rhythmic_importance_ = -1;
+ infos_[i].rhythmic_importance_ = -1;
+ next_beat_pos += options.base_moment_;
}
// The rhythmic importance of a stem between beats depends on its fraction
// of a beat: those stems with a lower denominator are deemed more