コード例 #1
0
        public AutogenratedSong()
        {
            Spur stimme1 = new BluesImpro(instrument, rnd, 0);
            Spur stimme2 = new BluesImpro(instrument, rnd, -1);
            Spur bass1   = new AlternateBass(instrument, rnd);

            stimmenList.Add(stimme1);
            stimmenList.Add(stimme2);
            stimmenList.Add(bass1);
        }
コード例 #2
0
        public AutogenratedSong(SongOption songOption)
        {
            if (songOption.isTrack1Enabled)
            {
                Spur stimme1 = new BluesImpro(instrument, rnd, 0);
                stimmenList.Add(stimme1);
            }

            if (songOption.isTrack2Enabled)
            {
                Spur stimme2 = new BluesImpro(instrument, rnd, -1);
                stimmenList.Add(stimme2);
            }

            if (songOption.isTrack3Enabled)
            {
                Spur bass1 = new AlternateBass(instrument, rnd);
                stimmenList.Add(bass1);
            }
        }