- Audio_note *tie_head = last_notes_[i]->tie_head ();
- //Give midi-length the available time since the note started,
- //including rests. It returns how much is left for the note.
- Moment available = now_mom () - tie_head->audio_column_->when ();
+ //Pass midi-length the available time since the last note started,
+ //including any intervening rests. It returns how much is left for the
+ //note.
+ Moment start = last_notes_[i]->audio_column_->when ();
+ Moment available = now_mom () - start;