Пример #1
0
        public V_LydianDom(String keyNote)
        {
            String note1;

            WS_Sharp ws_sharp = new WS_Sharp();
            HS_Sharp hs_sharp = new HS_Sharp();
            WS_Flat  ws_flat  = new WS_Flat();
            HS_Flat  hs_flat  = new HS_Flat();


            // Find the new root for melodic minor scale used on for Lydian Dom V scale
            // W
            if (keyNote.Equals("d") || keyNote.Equals("e") || keyNote.Equals("a") || keyNote.Equals("c#") ||
                keyNote.Equals("d#") || keyNote.Equals("f#") || keyNote.Equals("g#") || keyNote.Equals("a#"))
            {
                //intervalli1 = "W";
                note1 = ws_sharp.getScales(keyNote);

                this.newRoot4MMScale = note1;
            }
            else if (keyNote.Equals("c") || keyNote.Equals("f") || keyNote.Equals("g") || keyNote.Equals("b") ||
                     keyNote.Equals("db") || keyNote.Equals("eb") || keyNote.Equals("gb") || keyNote.Equals("ab") || keyNote.Equals("bb"))
            {
                //intervalli1 = "W";
                note1 = ws_flat.getScales(keyNote);


                this.newRoot4MMScale = note1;
            }
            else
            {
            }
        }
        public I_LydianAug(String keyNote)
        {
            String note1, note2, note3, note4, note5, note6;

            WS_Sharp ws_sharp = new WS_Sharp();
            HS_Sharp hs_sharp = new HS_Sharp();
            WS_Flat  ws_flat  = new WS_Flat();
            HS_Flat  hs_flat  = new HS_Flat();

            // Find the new root for melodic minor scale used on for the Lydian Augmented scale
            // W W H W W
            if (keyNote.Equals("d") || keyNote.Equals("e") || keyNote.Equals("a") || keyNote.Equals("c#") ||
                keyNote.Equals("d#") || keyNote.Equals("f#") || keyNote.Equals("g#") || keyNote.Equals("a#"))
            {
                note1 = keyNote;
                //intervalli1 = "W";
                note2 = ws_sharp.getScales(note1);
                //intervalli1 = "W";
                note3 = ws_sharp.getScales(note2);
                //intervalli1 = "H";
                note4 = hs_sharp.getScales(note3);
                //intervalli1 = "W";
                note5 = ws_sharp.getScales(note4);
                //intervalli1 = "W";
                note6 = ws_sharp.getScales(note5);
                this.newRoot4MMScale = note6;
            }
            else if (keyNote.Equals("c") || keyNote.Equals("f") || keyNote.Equals("g") || keyNote.Equals("b") ||
                     keyNote.Equals("db") || keyNote.Equals("eb") || keyNote.Equals("gb") || keyNote.Equals("ab") || keyNote.Equals("bb"))
            {
                note1 = keyNote;
                //intervalli1 = "W";
                note2 = ws_flat.getScales(note1);
                //intervalli1 = "W";
                note3 = ws_flat.getScales(note2);
                //intervalli1 = "H";
                note4 = hs_flat.getScales(note3);
                //intervalli1 = "W";
                note5 = ws_flat.getScales(note4);
                //intervalli1 = "W";
                note6 = ws_flat.getScales(note5);
                this.newRoot4MMScale = note6;
            }
            else
            {
            }
        }
        public II_Dorianb2(String keyNote)
        {
            WS_Sharp ws_sharp = new WS_Sharp();
            HS_Sharp hs_sharp = new HS_Sharp();
            WS_Flat  ws_flat  = new WS_Flat();
            HS_Flat  hs_flat  = new HS_Flat();

            // Find the new root for melodic minor scale used on for Dorianb2 scale
            // Same root note!
            if (keyNote.Equals("d") || keyNote.Equals("e") || keyNote.Equals("a") || keyNote.Equals("c#") ||
                keyNote.Equals("d#") || keyNote.Equals("f#") || keyNote.Equals("g#") || keyNote.Equals("a#"))
            {
                this.newRoot4MMScale = keyNote;
            }
            else if (keyNote.Equals("c") || keyNote.Equals("f") || keyNote.Equals("g") || keyNote.Equals("b") ||
                     keyNote.Equals("db") || keyNote.Equals("eb") || keyNote.Equals("gb") || keyNote.Equals("ab") || keyNote.Equals("bb"))
            {
                this.newRoot4MMScale = keyNote;
            }
            else
            {
            }
        }
Пример #4
0
        public LydianAug(String keyNote)
        {
            String note1, note2, note3, note4, note5, note6, note7, note8;

            WS_Sharp ws_sharp = new WS_Sharp();
            HS_Sharp hs_sharp = new HS_Sharp();
            WS_Flat  ws_flat  = new WS_Flat();
            HS_Flat  hs_flat  = new HS_Flat();

            if (keyNote.Equals("d") || keyNote.Equals("e") || keyNote.Equals("a") || keyNote.Equals("c#") ||
                keyNote.Equals("d#") || keyNote.Equals("f#") || keyNote.Equals("g#") || keyNote.Equals("a#"))
            {
                //System.out.println("Ma7#5 Lydian augmented scale");
                //System.out.println(" W W W W H W H ");

                note1 = keyNote;

                //intervalli1 = "W";
                note2 = ws_sharp.getScales(note1);

                //intervalli2 = "W";
                note3 = ws_sharp.getScales(note2);

                //intervalli3 = "W";
                note4 = ws_sharp.getScales(note3);

                //intervalli4 = "W";
                note5 = ws_sharp.getScales(note4);

                //intervalli5 = "H";
                note6 = hs_sharp.getScales(note5);

                //intervalli6 = "W";
                note7 = ws_sharp.getScales(note6);

                //intervalli7 = "H";
                note8 = hs_sharp.getScales(note7);

                this.newMmScaleFor_I = note1 + "   " + note2 + "   " + note3 + "   " + note4 + "   " + note5 + "   " + note6 + "   " + note7 + "   " + note8;
            }
            else if (keyNote.Equals("c") || keyNote.Equals("f") || keyNote.Equals("g") || keyNote.Equals("b") ||
                     keyNote.Equals("db") || keyNote.Equals("eb") || keyNote.Equals("gb") || keyNote.Equals("ab") || keyNote.Equals("bb"))
            {
                //System.out.println("Ma7#5 Lydian augmented scale");
                //System.out.println(" W W W W H W H ");

                note1 = keyNote;

                //intervalli1 = "W";
                note2 = ws_flat.getScales(note1);

                //intervalli2 = "W";
                note3 = ws_flat.getScales(note2);

                //intervalli3 = "W";
                note4 = ws_flat.getScales(note3);

                //intervalli4 = "W";
                note5 = ws_flat.getScales(note4);

                //intervalli5 = "H";
                note6 = hs_flat.getScales(note5);

                //intervalli6 = "W";
                note7 = ws_flat.getScales(note6);

                //intervalli7 = "H";
                note8 = hs_flat.getScales(note7);

                this.newMmScaleFor_I = note1 + "   " + note2 + "   " + note3 + "   " + note4 + "   " + note5 + "   " + note6 + "   " + note7 + "   " + note8;
            }
            else
            {
            }
        }
Пример #5
0
        public AeolianDom(String keyNote)
        {
            String note1, note2, note3, note4, note5, note6, note7, note8;

            WS_Sharp ws_sharp = new WS_Sharp();
            HS_Sharp hs_sharp = new HS_Sharp();
            WS_Flat  ws_flat  = new WS_Flat();
            HS_Flat  hs_flat  = new HS_Flat();

            if (keyNote.Equals("d") || keyNote.Equals("e") || keyNote.Equals("a") || keyNote.Equals("c#") ||
                keyNote.Equals("d#") || keyNote.Equals("f#") || keyNote.Equals("g#") || keyNote.Equals("a#"))
            {
                //System.out.println("Aeolian dominant scale for V cord (7)");
                //System.out.println(" W W H W H W W ");

                note1 = keyNote;

                //intervalli1 = "W";
                note2 = ws_sharp.getScales(note1);

                //intervalli2 = "W";
                note3 = ws_sharp.getScales(note2);

                //intervalli3 = "H";
                note4 = hs_sharp.getScales(note3);

                //intervalli4 = "W";
                note5 = ws_sharp.getScales(note4);

                //intervalli5 = "H";
                note6 = hs_sharp.getScales(note5);

                //intervalli6 = "W";
                note7 = ws_sharp.getScales(note6);

                //intervalli7 = "W";
                note8 = ws_sharp.getScales(note7);

                this.newMmScaleFor_V = note1 + "   " + note2 + "   " + note3 + "   " + note4 + "   " + note5 + "   " + note6 + "   " + note7 + "   " + note8;
            }
            else if (keyNote.Equals("c") || keyNote.Equals("f") || keyNote.Equals("g") || keyNote.Equals("b") ||
                     keyNote.Equals("db") || keyNote.Equals("eb") || keyNote.Equals("gb") || keyNote.Equals("ab") || keyNote.Equals("bb"))
            {
                //System.out.println("Aeolian dominant scale for V cord (7)");
                //System.out.println(" W W H W H W W ");

                note1 = keyNote;

                //intervalli1 = "W";
                note2 = ws_flat.getScales(note1);

                //intervalli2 = "W";
                note3 = ws_flat.getScales(note2);

                //intervalli3 = "H";
                note4 = hs_flat.getScales(note3);

                //intervalli4 = "W";
                note5 = ws_flat.getScales(note4);

                //intervalli5 = "H";
                note6 = hs_flat.getScales(note5);

                //intervalli6 = "W";
                note7 = ws_flat.getScales(note6);

                //intervalli7 = "W";
                note8 = ws_flat.getScales(note7);

                this.newMmScaleFor_V = note1 + "   " + note2 + "   " + note3 + "   " + note4 + "   " + note5 + "   " + note6 + "   " + note7 + "   " + note8;
            }
            else
            {
            }
        }