/// <summary> /// Initializes an instance of the Sequencer class. /// </summary> public SequencerBase(Midi.IMidiReceiver inDevice, Midi.IMidiSender outDevice) { this.tickGen = new Endogine.Midi.TickGenerator(); this.tickGen.Ppqn = 96; //this.tickGen.Tempo = 500000; this.tickGen.Tick += new System.EventHandler(this.TickHandler); this.xoutDevice = outDevice; InitializeSequencer(); }