MAX_NOTES_LOOP
for (i = 0; i < MAX_NOTES_LOOP && note >= note0 && note < note_end;
if (i >= MAX_NOTES_LOOP)