public void AddMetronome(int start, int length) { MidiEvents.Add(new MetronomeEvent { Tick = start, Length = length }); }