public DeltaEventPair(int delta, MidiEvent midiEvent) { this.delta = delta; this.midiEvent = midiEvent; }
public void AddEvent(int delta, MidiEvent midiEvent) { sequence.Add(new DeltaEventPair(delta, midiEvent)); }