- Rhythmic_tuple t (i, now_mom () + r->length_mom ());
- now_durations_.push (t);
+ Music *r = i.music_cause ();
+ if (r && r->is_mus_type ("rhythmic-event"))
+ {
+ Moment len = r->get_length ();
+ Rhythmic_tuple t (i, now_mom () + len);
+ now_durations_.push (t);
+ }