public void ProcessStacked(float recog, float interval) { SortData(); for (int i = 0; i < notes.Count; ++i) { for (int j = 1; i + j < notes.Count && Math.Abs(notes[i].timing - notes[i + j].timing) < recog && notes[i].type == notes[i + j].type; ++j) { notes[i + j] = new note.Data(notes[i + j].timing + interval * j, notes[i + j].type); } } }
public void Add(note.Data data) { notes.Add(data); }