/* We add a new note and update the central time for the event at the same time. */ public void AddNote(NoteEvent note) { Notes.Add(note); Time += (note.Timestamp.TotalMilliseconds - Time) / Notes.Count; }
public BeatEvent(NoteEvent note) { Time = note.Timestamp.TotalMilliseconds; Notes = new List <NoteEvent>(); Notes.Add(note); }