Beispiel #1
0
        public List <Note> Major(string note)
        {
            MajorScale  majorscale = new MajorScale();
            List <Note> temp       = majorscale.GetNotesInMajorScale(note);
            List <Note> list       = new List <Note>();

            list.Add(temp[0]);
            list.Add(temp[1]);
            list.Add(temp[2]);
            list.Add(temp[4]);
            list.Add(temp[5]);
            list.Add(temp[0]);
            return(list);
        }
Beispiel #2
0
        public List <Note> Major(string note)
        {
            MajorScale  mj   = new MajorScale();
            List <Note> t    = mj.GetNotesInMajorScale(note);
            List <Note> list = new List <Note>();

            list.Add(t[0]);
            list.Add(t[2]);
            list.Add(t[4]);
            list.Add(t[6]);
            list.Add(t[1]);
            list.Add(t[3]);
            list.Add(t[5]);
            return(list);
        }
Beispiel #3
0
        public List <Note> Ionion(string note)
        {
            MajorScale temp = new MajorScale();

            return(temp.GetNotesInMajorScale(note));
        }
Beispiel #4
0
        public List <Note> Locrian(string note)
        {
            List <Note> temp = new List <Note>();

            switch (note)
            {
            case "C":
                MajorScale Db = new MajorScale();
                temp = Db.GetNotesInMajorScale("Db");
                return(Helper_Calculate(6, temp));

            case "F":
                MajorScale Gb = new MajorScale();
                temp = Gb.GetNotesInMajorScale("Gb");
                return(Helper_Calculate(6, temp));

            case "Bb":
                MajorScale Cb = new MajorScale();
                temp = Cb.GetNotesInMajorScale("Cb");
                return(Helper_Calculate(6, temp));

            case "Eb":
                MajorScale Fb = new MajorScale();
                temp = Fb.GetNotesInMajorScale("Fb");
                return(Helper_Calculate(6, temp));

            case "Ab":
                MajorScale Bbb = new MajorScale();
                temp = Bbb.GetNotesInMajorScale("Bbb");
                return(Helper_Calculate(6, temp));

            case "Db":
                MajorScale Ebb = new MajorScale();
                temp = Ebb.GetNotesInMajorScale("Ebb");
                return(Helper_Calculate(6, temp));

            case "Gb":
                MajorScale Abb = new MajorScale();
                temp = Abb.GetNotesInMajorScale("Abb");
                return(Helper_Calculate(6, temp));

            case "Cb":
                MajorScale Dbb = new MajorScale();
                temp = Dbb.GetNotesInMajorScale("Dbb");
                return(Helper_Calculate(6, temp));

            case "Fb":
                MajorScale Gbb = new MajorScale();
                temp = Gbb.GetNotesInMajorScale("Gbb");
                return(Helper_Calculate(6, temp));

            case "G":
                MajorScale Ab = new MajorScale();
                temp = Ab.GetNotesInMajorScale("Ab");
                return(Helper_Calculate(6, temp));

            case "D":
                MajorScale Eb = new MajorScale();
                temp = Eb.GetNotesInMajorScale("Eb");
                return(Helper_Calculate(6, temp));

            case "A":
                MajorScale Bb = new MajorScale();
                temp = Bb.GetNotesInMajorScale("Bb");
                return(Helper_Calculate(6, temp));

            case "E":
                MajorScale F = new MajorScale();
                temp = F.GetNotesInMajorScale("F");
                return(Helper_Calculate(6, temp));

            case "B":
                MajorScale C = new MajorScale();
                temp = C.GetNotesInMajorScale("C");
                return(Helper_Calculate(6, temp));

            case "F#":
                MajorScale G = new MajorScale();
                temp = G.GetNotesInMajorScale("G");
                return(Helper_Calculate(6, temp));

            case "C#":
                MajorScale D = new MajorScale();
                temp = D.GetNotesInMajorScale("D");
                return(Helper_Calculate(6, temp));

            case "G#":
                MajorScale A = new MajorScale();
                temp = A.GetNotesInMajorScale("A");
                return(Helper_Calculate(6, temp));

            case "D#":
                MajorScale E = new MajorScale();
                temp = E.GetNotesInMajorScale("E");
                return(Helper_Calculate(6, temp));

            case "A#":
                MajorScale B = new MajorScale();
                temp = B.GetNotesInMajorScale("B");
                return(Helper_Calculate(6, temp));

            case "E#":
                MajorScale F_sharp = new MajorScale();
                temp = F_sharp.GetNotesInMajorScale("F#");
                return(Helper_Calculate(6, temp));

            case "B#":
                MajorScale C_sharp = new MajorScale();
                temp = C_sharp.GetNotesInMajorScale("C#");
                return(Helper_Calculate(6, temp));
            }
            throw new Exception("Locrian exception");
        }