コード例 #1
0
        /// <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();
        }
コード例 #2
0
ファイル: SequencerBase.cs プロジェクト: timdetering/Endogine
        /// <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();
        }