source file of the GNU LilyPond music typesetter
- (c) 1999--2006 Han-Wen Nienhuys <hanwen@xs4all.nl>
+ (c) 1999--2007 Han-Wen Nienhuys <hanwen@xs4all.nl>
*/
#include "engraver.hh"
Stream_event *r = i.event_cause ();
if (r && r->in_event_class ("rhythmic-event"))
{
- Moment len = get_event_length (r);
+ Moment len = get_event_length (r, now_);
Rhythmic_tuple t (i, now_mom () + len);
now_durations_.push_back (t);
}
Stream_event *ev = playing_durations_[i].info_.event_cause ();
if (ev)
{
+ Moment now = now_mom ();
Moment m = get_event_length (ev);
shortest_playing = min (shortest_playing, m);
}