Пример #1
0
        /// <summary>
        ///
        /// </summary>
        public void Fill()
        {
            if (CombiBanks != null)
            {
                CombiBanks.Fill();
            }

            ProgramBanks.Fill();
            var firstProgramBank = (IProgramBank)ProgramBanks[0];

            AssignedClearProgram = (IProgram)(firstProgramBank[0]);

            if (SetLists != null)
            {
                SetLists.Fill();
            }

            if (WaveSequenceBanks != null)
            {
                WaveSequenceBanks.Fill();
            }

            if (DrumKitBanks != null)
            {
                DrumKitBanks.Fill();
            }

            if (DrumPatternBanks != null)
            {
                DrumPatternBanks.Fill();
            }

            PcgChecksumType = ChecksumType.None;
            Chunks          = new Chunks();
        }
 /// <summary>
 ///
 /// </summary>
 /// <param name="programBanks"></param>
 /// <param name="type"></param>
 /// <param name="id"></param>
 /// <param name="pcgId"></param>
 /// <param name="synthesisType"></param>
 /// <param name="description"></param>
 public KromeProgramBank(ProgramBanks programBanks, BankType.EType type, string id, int pcgId,
                         SynthesisType synthesisType, string description)
     : base(programBanks, type, id, pcgId, synthesisType, description)
 {
 }