Esempio n. 1
0
 internal static void ShowChord(clsPlay.clsChordEv playchord, clsKeyTicks key)
 {
     if (key == null)
     {
         key = new ChordCadenza.clsKeyTicks(0, "major", 0);
     }
     int[] tchord;
     if (playchord == null || playchord.Chord == null)
     {
         tchord = null;
     }
     else
     {
         tchord = playchord.Chord.ToArray();
         for (int i = 0; i < tchord.Length; i++)
         {
             tchord[i] = (tchord[i] + P.frmSC.Play.TransposeKB).Mod12();
         }
     }
     P.frmSC.BeginInvoke(new delegShowChord(ShowChordForm), tchord, key);
 }
Esempio n. 2
0
 private void CreatePlayChord(int[] chord)
 {
     //clsCF.clsEv ev = new clsCF.clsEvPC(null, new clsMTime.clsBBT(0), chord);
     //PlayChord = new clsPlay.clsChordEvTimed(P.frmSC.Play, ev, chord);
     PlayChord = new ChordCadenza.clsPlay.clsChordEv(P.frmSC.Play, chord, true);
 }