Auto_beam_engraver::Auto_beam_engraver ()
{
stem_l_arr_p_ = 0;
- //shortest_mom_ = 1;
shortest_mom_ = Moment (1, 8);
finished_beam_p_ = 0;
finished_grouping_p_ = 0;
void
Auto_beam_engraver::begin_beam ()
{
- // DOUT << String ("starting autobeam at: ") + now_mom ().str () + "\n";
assert (!stem_l_arr_p_);
stem_l_arr_p_ = new Array<Stem*>;
assert (!grouping_p_);
delete stem_l_arr_p_;
stem_l_arr_p_ = 0;
grouping_p_ = 0;
- //shortest_mom_ = 1;
shortest_mom_ = Moment (1, 8);
}
}
}
grouping_p_->add_child (start, rhythmic_req->length_mom ());
- //stem_l->flag_i_ = rhythmic_req->duration_.durlog_i_;
-
stem_l_arr_p_->push (stem_l);
Moment now = now_mom ();
last_add_mom_ = now;
stem_l_arr_p_ = 0;
delete grouping_p_;
grouping_p_ = 0;
- //shortest_mom_ = 1;
shortest_mom_ = Moment (1, 8);
}