public void FinishTrack(int track, int tick) { MidiEvents.Add(new TrackEndEvent { Track = track, Tick = tick }); }