Пример #1
0
 private void PlayProgression(Player.PlayType playType, int alternativeProgressionId = 0)
 {
     for (int i = 0; i < 4; i++)//akordy
     {
         PlayChord(i, playType, alternativeProgressionId);
         Delay(100);
     }
 }
Пример #2
0
 private void PlayProgression(Player.PlayType playType, int alternativeProgressionId = 0)
 {
     for (int i = 0; i < 4; i++)//akordy
     {
         //bass
         //PlayBass(i, playType, alternativeProgressionId);//TODO
         PlayChord(i, playType, alternativeProgressionId);
         Thread.Sleep(100);
     }
 }
Пример #3
0
        public string GetChordName(Player.PlayType playType, int passedChordNumber, int passedChordProgression = 0)
        {
            string tempChord;

            if (playType == Player.PlayType.Main)
            {
                tempChord = MainProgression[passedChordNumber].Name;
            }
            else if (playType == Player.PlayType.Alternative)
            {
                tempChord = AlternativeProgressions[passedChordProgression][passedChordNumber].Name;
            }
            else
            {
                tempChord = ChordsInKey[passedChordNumber].Name;
            }

            return(tempChord);
        }
Пример #4
0
 private void PlayChord(int chordNumber, Player.PlayType playType, int alternativeProgressionId = 0)
 {
     player.PlayChords(playType, chordNumber, alternativeProgressionId);
 }