- Translator * result =
- daddy_grav_l()->get_simple_translator ("Timing_engraver"); // ugh
-
- if (!result)
- {
- warning (_ ("lost in time:"));
- warning (_f ("Can't find: `%s'", " Timing_translator"));
- return ;
- }
-
- Timing_engraver * timing_grav_l= dynamic_cast<Timing_engraver *> (result);
-
- Time_signature_change_req *req = timing_grav_l->time_signature_req_l();
- if (req)
- {
- Array<int> args;
- args.push (req->beats_i_);
- args.push (req->one_beat_i_);
-
- time_signature_p_ = new Time_signature ();
- time_signature_p_->args_ = args;
- time_signature_p_->set_elt_property (break_priority_scm_sym, gh_int2scm (1)); // 1
- }