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