public ClipMidiEvent(Params ps) : base(ps) { this.clipName = ps.GetString("ClipName"); this.channel = ps.GetInt("Channel"); this.type = (Midi.MidiMessage.Type)Enum.Parse(typeof(Midi.MidiMessage.Type), ps.GetString("MessageType")); this.clip = MonoHelper.MonoFindClip(clipName); this.tracker = clip.GetTracker(); }
public override void Reset() { base.Reset(); this.tracker = clip.GetTracker(); }