Example #1
0
                internal int SongLength; //wholenotes
                //internal int ChordNotesTrans = 0;

                internal clsItem()
                {
                    //* copy evs and bbt (to isolate from live)
                    Evs = new List <clsEv>();
                    foreach (clsEv ev in P.F.CF.Evs)
                    {
                        Evs.Add(ev.CopyEv());
                    }

                    TSigs = new clsMTime.clsTSigBB[P.F.MTime.TSigs.Length];
                    for (int i = 0; i < P.F.MTime.TSigs.Length; i++)
                    {
                        TSigs[i] = P.F.MTime.TSigs[i].Copy();
                    }

                    Keys = new clsKeysTicks(P.F.Keys);

                    SongLength = P.F.MaxBBT.MidiWholeNotes;

                    //if (P.F.frmChordMap != null) ChordNotesTrans = P.F.frmChordMap.ChordTransposeNotesVal;

                    CurrentBBTBefore = P.F.CurrentBBT.Copy();
                    CurrentBBTAfter  = P.F.CurrentBBT.Copy();
                }
Example #2
0
 internal clsKeysTicks(clsKeysTicks keys) //copy
 //Keys = new List<clsKeyTicks>();
 //foreach (clsKeyTicks key in keys.Keys) Keys.Add(new clsKeyTicks(key));  //copy
 {
     Keys = keys.Keys.ToList();
 }