예제 #1
0
        /// <summary>
        ///
        /// </summary>
        public NAMCO_CUS30(uint unitNumber) : base(unitNumber)
        {
            Timbres = new NAMCO_CUS30Timbre[InstrumentBase.DEFAULT_MAX_TIMBRES];
            for (int i = 0; i < InstrumentBase.DEFAULT_MAX_TIMBRES; i++)
            {
                Timbres[i] = new NAMCO_CUS30Timbre();
            }
            setPresetInstruments();

            this.soundManager = new NAMCO_CUS30SoundManager(this);
        }
예제 #2
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="parentModule"></param>
 /// <param name="noteOnEvent"></param>
 /// <param name="programNumber"></param>
 /// <param name="slot"></param>
 public NAMCO_CUS30Sound(NAMCO_CUS30 parentModule, NAMCO_CUS30SoundManager manager, TimbreBase timbre, int tindex, TaggedNoteOnEvent noteOnEvent, int slot) : base(parentModule, manager, timbre, tindex, noteOnEvent, slot)
 {
     this.parentModule = parentModule;
     this.timbre       = (NAMCO_CUS30Timbre)timbre;
 }