2002-07-13 Han-Wen <hanwen@cs.uu.nl>
+ * lily/beam.cc (calc_stem_y): fix beams on quarter notes.
+
* lily/stem-tremolo.cc (brew_molecule): add code for stem tremolos.
* lily/auto-beam-engraver.cc (create_beam_p): remember Beam
(quanting): add french beaming support (property french-beaming)
(stem_beams): removed.
-2002-07-12 Mats Bengtsson <matsb@s3.kth.se>
+i2002-07-12 Mats Bengtsson <matsb@s3.kth.se>
* lily/beam.cc (after_line_breaking): Set correct stem lengths
also when beam positions are set manually.
\score { \notes
\relative c'
{
-
+ \property Voice.Beam \set #'auto-knee-gap = #7
\property Voice.subdivideBeams = ##t
\time 8/8
[c,16 g'''16
}
while (flip (&d) != LEFT);
- last_int = new_slice;
+ if (!new_slice.empty_b())
+ last_int = new_slice;
}
else
{
Real stem_y = stem_y_beam0;
if (french)
{
- stem_y += beam_space * where_are_the_whole_beams (beaming)[-my_dir];
+ Slice bm = where_are_the_whole_beams (beaming);
+ if (!bm.empty_b())
+ stem_y += beam_space * bm[-my_dir];
}
else
{
- stem_y += (Stem::beam_multiplicity(s)[my_dir]) * beam_space;
+ Slice bm = Stem::beam_multiplicity(s);
+ if (!bm.empty_b())
+ stem_y +=bm[my_dir] * beam_space;
}
return stem_y;
(slope-limit . 0.2)
(flag-width-function . ,default-beam-flag-width-function)
(damping . 1)
-;; (auto-knee-gap . 7)
+ (auto-knee-gap . 7)
(font-name . "cmr10")
(space-function . ,Beam::space_function)