*/
#include "performer.hh"
-#include "event.hh"
#include "audio-item.hh"
#include "audio-column.hh"
#include "global-context.hh"
// 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++)
+ for (int i = 0; i < notes_.size (); i++)
{
Audio_note* n = notes_[i];
- Moment m= n->delayed_until_mom_;
+ Moment m = n->delayed_until_mom_;
if (m.to_bool ())
{
global->add_moment_to_process (m);
}
Moment now = now_mom ();
- for (int i=0; i < notes_.size (); i++)
+ for (int i = 0; i < notes_.size (); i++)
{
play_element (notes_[i]);
}
notes_.clear ();
note_evs_.clear ();
- for (int i=0; i < delayeds_.size (); i++)
+ for (int i = 0; i < delayeds_.size (); i++)
{
Audio_note* n = delayeds_[i];
if (n->delayed_until_mom_ <= now)
return false;
}
-ENTER_DESCRIPTION (Note_performer,"","",
+ADD_TRANSLATOR (Note_performer,"","",
"note-event busy-playing-event","","","");
Note_performer::Note_performer ()