- // why don't grace notes show up here?
- // --> grace notes effectively do not get delayed
- Global_context * global = get_global_context ();
- for (int i=0; i < notes_.size (); i++)
- {
- Audio_note* n = notes_[i];
- Moment m= n->delayed_until_mom_;
- if (m.to_bool ())
- {
- global->add_moment_to_process (m);
- delayeds_.push (n);
- notes_[i] = 0;
- notes_.del (i);
- i--;
- }
- }
-
- Moment now = now_mom ();
- for (int i=0; i < notes_.size (); i++)
- {
- play_element (notes_[i]);
- }