- for (int i=0; i < timing_req_l_arr_.size (); i++)
- {
- Timing_req * tr_l = timing_req_l_arr_[i];
- Meter_change_req *m_l = tr_l->meterchange();
- if (m_l)
- {
- int b_i= m_l->beats_i_;
- int o_i = m_l->one_beat_i_;
- if (! time_.allow_meter_change_b())
- tr_l->warning (_("Meter change not allowed here"));
- else
- {
- time_.set_meter (b_i, o_i);
- default_grouping_ =
- Rhythmic_grouping (MInterval (0,Moment (b_i, o_i)), b_i);
- }
- }
- else if (tr_l->partial())
- {
- Moment m = tr_l->partial()->duration_;
- String error = time_.try_set_partial_str (m);
- if (error.length_i ())
- {
- tr_l->warning (error);
- }
- else
- time_.setpartial (m);
- }
- else if (tr_l->barcheck())
- {
- if (time_.whole_in_measure_)
- {
- tr_l ->warning (_("Barcheck failed"));
-
- time_.whole_in_measure_ = 0; // resync
- time_.error_b_ = true;
- }
-
- }
- else if (tr_l->cadenza())
- {
- time_.set_cadenza (tr_l->cadenza()->on_b_);
- }
- else if (tr_l->measuregrouping())
- {
- default_grouping_ =
- parse_grouping (tr_l->measuregrouping()->beat_i_arr_,
- tr_l->measuregrouping()->elt_length_arr_);
-
- }
- }
+ daddy_trans_->set_property ("timing" , SCM_BOOL_T);
+ daddy_trans_->set_property ("currentBarNumber" , gh_int2scm (1));
+
+ daddy_trans_->set_property ("timeSignatureFraction",
+ gh_cons (gh_int2scm (4), gh_int2scm (4)));
+ daddy_trans_->set_property ("measurePosition", Moment (Rational (0)).smobbed_copy ());
+ daddy_trans_->set_property ("measureLength", Moment (Rational (1)).smobbed_copy ());
+ daddy_trans_->set_property ("beatLength", Moment (Rational (1,4)).smobbed_copy ());