Пример #1
0
        public static void HappyBirthday()
        {
            Console.Clear();
            Console.WriteLine("HappyBirthday");

            Thread.Sleep(2000);
            Console.Beep(264, 125);
            Thread.Sleep(250);
            Console.Beep(264, 125);
            Thread.Sleep(250);
            Console.Beep(297, 500);
            Thread.Sleep(125);
            Console.Beep(264, 500);
            Thread.Sleep(125);
            Console.Beep(352, 500);
            Thread.Sleep(125);
            Console.Beep(330, 1000);
            Thread.Sleep(250);
            Console.Beep(264, 125);
            Thread.Sleep(250);
            Console.Beep(297, 500);
            Thread.Sleep(125);
            Console.Beep(264, 500);
            Thread.Sleep(125);
            Console.Beep(396, 500);
            Thread.Sleep(125);
            Console.Beep(352, 1000);
            Thread.Sleep(250);
            Console.Beep(264, 125);
            Thread.Sleep(250);
            Console.Beep(264, 125);
            Thread.Sleep(125);
            Console.Beep(842, 500);
            Thread.Sleep(125);
            Console.Beep(440, 500);
            Thread.Sleep(125);
            Console.Beep(352, 250);
            Thread.Sleep(125);
            Console.Beep(352, 125);
            Thread.Sleep(125);
            Console.Beep(330, 500);
            Thread.Sleep(125);
            Console.Beep(297, 1000);
            Thread.Sleep(250);
            Console.Beep(466, 125);
            Thread.Sleep(250);
            Console.Beep(466, 125);
            Thread.Sleep(125);
            Console.Beep(440, 500);
            Thread.Sleep(125);
            Console.Beep(352, 500);
            Thread.Sleep(125);
            Console.Beep(396, 500);
            Thread.Sleep(125);
            Console.Beep(352, 1000);
            Console.Clear();
            TitlePage.Title();
            //Happy Birthday Credit nagihanesendal.blogspot.com
        }
Пример #2
0
        public static void PlayPianoNotes()
        {
            Console.Clear();
            Console.WriteLine("Play notes using the top two rows of letters on your keyboard");
            Console.WriteLine("Piano Notes");

            timer           = new System.Timers.Timer(1000);
            timer.Elapsed  += OnTimerEvent;
            timer.AutoReset = false;
            timer.Enabled   = true;

            while (true)
            {
                ConsoleKeyInfo cki = Console.ReadKey();
                switch (cki.KeyChar)
                {
                case 'q': PlayMidiNote(40); break;

                case 'a': PlayMidiNote(43); break;

                case 'w': PlayMidiNote(46); break;

                case 's': PlayMidiNote(49); break;

                case 'e': PlayMidiNote(52); break;

                case 'd': PlayMidiNote(55); break;

                case 'r': PlayMidiNote(58); break;

                case 'f': PlayMidiNote(61); break;

                case 'g': PlayMidiNote(64); break;

                case 'y': PlayMidiNote(67); break;

                case 'h': PlayMidiNote(70); break;

                case 'u': PlayMidiNote(73); break;

                case 'j': PlayMidiNote(76); break;

                case 'i': PlayMidiNote(79); break;

                case 'k': PlayMidiNote(82); break;

                case 'o': PlayMidiNote(85); break;

                case 'l': PlayMidiNote(88); break;

                case 'p': PlayMidiNote(91); break;

                case 'x': TitlePage.Title(); break;
                }
            }
        }
Пример #3
0
        static void KeyDownBeep()
        {
            Console.Clear();
            Console.WriteLine("Play notes using the top two rows of letters on your keyboard");
            Console.WriteLine("BeepBoops");

            ConsoleKey userInputBeep = Console.ReadKey().Key;

            switch (userInputBeep)
            {
            case (ConsoleKey.Q): Console.Beep(250, 50); break;

            case (ConsoleKey.A): Console.Beep(300, 50); break;

            case (ConsoleKey.W): Console.Beep(350, 50); break;

            case (ConsoleKey.S): Console.Beep(400, 50); break;

            case (ConsoleKey.E): Console.Beep(450, 50); break;

            case (ConsoleKey.D): Console.Beep(500, 50); break;

            case (ConsoleKey.R): Console.Beep(550, 50); break;

            case (ConsoleKey.F): Console.Beep(600, 50); break;

            case (ConsoleKey.T): Console.Beep(650, 50); break;

            case (ConsoleKey.G): Console.Beep(700, 50); break;

            case (ConsoleKey.Y): Console.Beep(750, 50); break;

            case (ConsoleKey.H): Console.Beep(800, 50); break;

            case (ConsoleKey.U): Console.Beep(850, 50); break;

            case (ConsoleKey.J): Console.Beep(875, 50); break;

            case (ConsoleKey.I): Console.Beep(900, 50); break;

            case (ConsoleKey.K): Console.Beep(925, 50); break;

            case (ConsoleKey.O): Console.Beep(950, 50); break;

            case (ConsoleKey.L): Console.Beep(975, 50); break;

            case (ConsoleKey.P): Console.Beep(1000, 50); break;

            case (ConsoleKey.X): TitlePage.Title(); break;
            }
            while (true)
            {
                KeyDownBeep();
                Thread.Sleep(50);
            }
        }
Пример #4
0
 public static void MissionImpossible()
 {
     Console.Clear();
     Console.WriteLine("MissionImpossible");
     Console.Beep(784, 150);
     Thread.Sleep(300);
     Console.Beep(784, 150);
     Thread.Sleep(300);
     Console.Beep(932, 150);
     Thread.Sleep(150);
     Console.Beep(1047, 150);
     Thread.Sleep(150);
     Console.Beep(784, 150);
     Thread.Sleep(300);
     Console.Beep(784, 150);
     Thread.Sleep(300);
     Console.Beep(699, 150);
     Thread.Sleep(150);
     Console.Beep(740, 150);
     Thread.Sleep(150);
     Console.Beep(784, 150);
     Thread.Sleep(300);
     Console.Beep(784, 150);
     Thread.Sleep(300);
     Console.Beep(932, 150);
     Thread.Sleep(150);
     Console.Beep(1047, 150);
     Thread.Sleep(150);
     Console.Beep(784, 150);
     Thread.Sleep(300);
     Console.Beep(784, 150);
     Thread.Sleep(300);
     Console.Beep(699, 150);
     Thread.Sleep(150);
     Console.Beep(740, 150);
     Thread.Sleep(150);
     Console.Beep(932, 150);
     Console.Beep(784, 150);
     Console.Beep(587, 1200);
     Thread.Sleep(75);
     Console.Beep(932, 150);
     Console.Beep(784, 150);
     Console.Beep(554, 1200);
     Thread.Sleep(75);
     Console.Beep(932, 150);
     Console.Beep(784, 150);
     Console.Beep(523, 1200);
     Thread.Sleep(150);
     Console.Beep(466, 150);
     Console.Beep(523, 150);
     //http://jeffwouters.nl/index.php/2012/03/get-your-geek-on-with-
     //powershell-and-some-music/
     Console.Clear();
     TitlePage.Title();
 }
Пример #5
0
        public static void WhichSong()
        {
            Console.Clear();

            Console.WriteLine("                       _  _  _  _       _                _                                             ");
            Console.WriteLine("                      (_)(_)(_)(_)_    (_)              (_)                                            ");
            Console.WriteLine("                      (_)        (_)    _      _  _  _  (_)     _             _  _  _                 ");
            Console.WriteLine("                      (_) _  _  _(_)   (_)   _(_)(_)(_) (_)   _(_)           (_)(_)(_) _              ");
            Console.WriteLine("                      (_)(_)(_)(_)     (_)  (_)         (_) _(_)              _  _  _ (_)              ");
            Console.WriteLine("                      (_)              (_)  (_)         (_)(_)_             _(_)(_)(_)(_)              ");
            Console.WriteLine("                      (_)              (_)  (_)_  _  _  (_)  (_)_          (_)_  _  _ (_)_             ");
            Console.WriteLine("                      (_)              (_)    (_)(_)(_) (_)    (_)           (_)(_)(_)  (_)             ");
            Console.WriteLine("  \n   ");
            Console.WriteLine("                         _  _  _  _                                                         _ ");
            Console.WriteLine("                       _(_)(_)(_)(_)_                                                      (_)         ");
            Console.WriteLine("                      (_)          (_)    _  _  _     _  _  _  _      _  _  _  _           (_)         ");
            Console.WriteLine("                      (_)_  _  _  _    _ (_)(_)(_) _ (_)(_)(_)(_)_  _(_)(_)(_)(_)          (_)         ");
            Console.WriteLine("                        (_)(_)(_)(_)_ (_)         (_)(_)        (_)(_)        (_)          (_)         ");
            Console.WriteLine("                       _           (_)(_)         (_)(_)        (_)(_)        (_)                      ");
            Console.WriteLine("                      (_)_  _  _  _(_)(_) _  _  _ (_)(_)        (_)(_)_  _  _ (_)           _          ");
            Console.WriteLine("                        (_)(_)(_)(_)     (_)(_)(_)   (_)        (_)  (_)(_)(_)(_)          (_)         ");
            Console.WriteLine("                                                                       _  _  _(_)");
            Console.WriteLine("                                                                      (_)(_)(_)");

            Console.Write("\n\n                   Mission Impossible (m), Super Mario Bros' (s), Star Wars (w), Happy Birthday (h): ");
            string SongChosen = Console.ReadLine();
            string CharLower  = SongChosen.ToLower();

            char[] CharSong = CharLower.ToCharArray();
            if (CharSong[0] == 'm')
            {
                MissionImpossible();
            }
            if (CharSong[0] == 's')
            {
                SuperMario();
            }
            if (CharSong[0] == 'w')
            {
                StarWars();
            }
            if (CharSong[0] == 'h')
            {
                HappyBirthday();
            }
            if (CharSong[0] == 'x')
            {
                TitlePage.Title();
            }
            else
            {
                Console.Clear();
            } WhichSong();
        }
Пример #6
0
        public static void FreePlay()
        {
            Console.Clear();
            Console.WriteLine("                             _  _  _  _                                          ");
            Console.WriteLine("                            (_)(_)(_)(_)                                       ");
            Console.WriteLine("                            (_)        _            _  _  _  _      _  _  _  _       ");
            Console.WriteLine("                            (_) _  _  (_)  _(_)(_) (_)(_)(_)(_)_   (_)(_)(_)(_)_    ");
            Console.WriteLine("                            (_)(_)(_)  (_)(_)     (_) _  _  _ (_) (_) _  _  _ (_)   ");
            Console.WriteLine("                            (_)        (_)        (_)(_)(_)(_)(_) (_)(_)(_)(_)(_)   ");
            Console.WriteLine("                            (_)        (_)        (_)_  _  _  _   (_)_  _  _  _     ");
            Console.WriteLine("                            (_)        (_)          (_)(_)(_)(_)    (_)(_)(_)(_)    ");
            Console.WriteLine("  \n   ");
            Console.WriteLine("                         _  _  _  _    _  _                                            _      ");
            Console.WriteLine("                        (_)(_)(_)(_)_ (_)(_)                                          (_)     ");
            Console.WriteLine("                        (_)        (_)   (_)      _  _  _     _               _       (_)      ");
            Console.WriteLine("                        (_) _  _  _(_)   (_)     (_)(_)(_) _ (_)_           _(_)      (_)      ");
            Console.WriteLine("                        (_)(_)(_)(_)     (_)      _  _  _ (_)  (_)_       _(_)        (_)    ");
            Console.WriteLine("                        (_)              (_)    _(_)(_)(_)(_)    (_)_   _(_)                   ");
            Console.WriteLine("                        (_)            _ (_) _ (_)_  _  _ (_)_     (_)_(_)             _      ");
            Console.WriteLine("                        (_)           (_)(_)(_)  (_)(_)(_)  (_)     _(_)              (_)     ");
            Console.WriteLine("                                                              _  _ (_)                       ");
            Console.WriteLine("                                                             (_)(_)                            \n");
            Console.WriteLine("                                     Beep Boop (b), Piano (p), Drum Kit (d)");
            Console.Write("                                   Type in 'x' to return to the Home Screen!  ");
//User has four options, will only except those options
            string userInput = Console.ReadLine();
            string lowerCase = userInput.ToLower();

            char[] charInput = lowerCase.ToCharArray();
            if (charInput[0] == 'b')
            {
                KeyDownBeep();
            }
            if (charInput[0] == 'p')
            {
                PlayPianoNotes();
            }
            if (charInput[0] == 'd')
            {
                DrumKit.DrumKitNotes();
            }
            if (charInput[0] == 'x')
            {
                TitlePage.Title();
            }
            else
            {
                Console.Clear();
            } FreePlay();
        }
Пример #7
0
 public static void StarWars()
 {
     Console.Clear();
     Console.WriteLine("StarWars");
     Console.Beep(440, 500);
     Console.Beep(440, 500);
     Console.Beep(440, 500);
     Console.Beep(349, 350);
     Console.Beep(523, 150);
     Console.Beep(440, 500);
     Console.Beep(349, 350);
     Console.Beep(523, 150);
     Console.Beep(440, 1000);
     Console.Beep(659, 500);
     Console.Beep(659, 500);
     Console.Beep(659, 500);
     Console.Beep(698, 350);
     Console.Beep(523, 150);
     Console.Beep(415, 500);
     Console.Beep(349, 350);
     Console.Beep(523, 150);
     Console.Beep(440, 1000);
     Console.Beep(880, 500);
     Console.Beep(440, 350);
     Console.Beep(440, 150);
     Console.Beep(880, 500);
     Console.Beep(830, 250);
     Console.Beep(784, 250);
     Console.Beep(740, 125);
     Console.Beep(698, 125);
     Console.Beep(740, 250);
     Console.Beep(455, 250);
     Console.Beep(622, 500);
     Console.Beep(587, 250);
     Console.Beep(554, 250);
     Console.Beep(523, 125);
     Console.Beep(466, 125);
     Console.Beep(523, 250);
     Console.Beep(349, 125);
     Console.Beep(415, 500);
     Console.Beep(349, 375);
     Console.Beep(440, 125);
     Console.Beep(523, 500);
     Console.Beep(440, 375);
     Console.Beep(523, 125);
     Console.Beep(659, 1000);
     Console.Beep(880, 500);
     Console.Beep(440, 350);
     Console.Beep(440, 150);
     Console.Beep(880, 500);
     Console.Beep(830, 250);
     Console.Beep(784, 250);
     Console.Beep(740, 125);
     Console.Beep(698, 125);
     Console.Beep(740, 250);
     Console.Beep(455, 250);
     Console.Beep(622, 500);
     Console.Beep(587, 250);
     Console.Beep(554, 250);
     Console.Beep(523, 125);
     Console.Beep(466, 125);
     Console.Beep(523, 250);
     Console.Beep(349, 250);
     Console.Beep(415, 500);
     Console.Beep(349, 375);
     Console.Beep(523, 125);
     Console.Beep(440, 500);
     Console.Beep(349, 375);
     Console.Beep(261, 125);
     Console.Beep(440, 1000);
     //http://jeffwouters.nl/index.php/2012/03/get-your-
     //geek-on-with-powershell-and-some-music/
     Console.Clear();
     TitlePage.Title();
 }
Пример #8
0
        public static void SuperMario()
        {
            Console.Clear();
            Console.WriteLine("SuperMario");

            Console.Beep(659, 125);
            Console.Beep(659, 125);
            Thread.Sleep(125);
            Console.Beep(659, 125);
            Thread.Sleep(167);
            Console.Beep(523, 125);
            Console.Beep(659, 125);
            Thread.Sleep(125);
            Console.Beep(784, 125);
            Thread.Sleep(375);
            Console.Beep(392, 125);
            Thread.Sleep(375);
            Console.Beep(523, 125);
            Thread.Sleep(250);
            Console.Beep(392, 125);
            Thread.Sleep(250);
            Console.Beep(330, 125);
            Thread.Sleep(250);
            Console.Beep(440, 125);
            Thread.Sleep(125);
            Console.Beep(494, 125);
            Thread.Sleep(125);
            Console.Beep(466, 125);
            Thread.Sleep(42);
            Console.Beep(440, 125);
            Thread.Sleep(125);
            Console.Beep(392, 125);
            Thread.Sleep(125);
            Console.Beep(659, 125);
            Thread.Sleep(125);
            Console.Beep(784, 125);
            Thread.Sleep(125);
            Console.Beep(880, 125);
            Thread.Sleep(125);
            Console.Beep(698, 125);
            Console.Beep(784, 125);
            Thread.Sleep(125);
            Console.Beep(659, 125);
            Thread.Sleep(125);
            Console.Beep(523, 125);
            Thread.Sleep(125);
            Console.Beep(587, 125);
            Console.Beep(494, 125);
            Thread.Sleep(125);
            Console.Beep(523, 125);
            Thread.Sleep(250);
            Console.Beep(392, 125);
            Thread.Sleep(250);
            Console.Beep(330, 125);
            Thread.Sleep(250);
            Console.Beep(440, 125);
            Thread.Sleep(125);
            Console.Beep(494, 125);
            Thread.Sleep(125);
            Console.Beep(466, 125);
            Thread.Sleep(42);
            Console.Beep(440, 125);
            Thread.Sleep(125);
            Console.Beep(392, 125);
            Thread.Sleep(125);
            Console.Beep(659, 125);
            Thread.Sleep(125);
            Console.Beep(784, 125);
            Thread.Sleep(125);
            Console.Beep(880, 125);
            Thread.Sleep(125);
            Console.Beep(698, 125);
            Console.Beep(784, 125);
            Thread.Sleep(125);
            Console.Beep(659, 125);
            Thread.Sleep(125);
            Console.Beep(523, 125);
            Thread.Sleep(125);
            Console.Beep(587, 125);
            Console.Beep(494, 125);
            Thread.Sleep(375);
            Console.Beep(784, 125);
            Console.Beep(740, 125);
            Console.Beep(698, 125);
            Thread.Sleep(42);
            Console.Beep(622, 125);
            Thread.Sleep(125);
            Console.Beep(659, 125);
            Thread.Sleep(167);
            Console.Beep(415, 125);
            Console.Beep(440, 125);
            Console.Beep(523, 125);
            Thread.Sleep(125);
            Console.Beep(440, 125);
            Console.Beep(523, 125);
            Console.Beep(587, 125);
            Thread.Sleep(250);
            Console.Beep(784, 125);
            Console.Beep(740, 125);
            Console.Beep(698, 125);
            Thread.Sleep(42);
            Console.Beep(622, 125);
            Thread.Sleep(125);
            Console.Beep(659, 125);
            Thread.Sleep(167);
            Console.Beep(698, 125);
            Thread.Sleep(125);
            Console.Beep(698, 125);
            Console.Beep(698, 125);
            Thread.Sleep(625);
            Console.Beep(784, 125);
            Console.Beep(740, 125);
            Console.Beep(698, 125);
            Thread.Sleep(42);
            Console.Beep(622, 125);
            Thread.Sleep(125);
            Console.Beep(659, 125);
            Thread.Sleep(167);
            Console.Beep(415, 125);
            Console.Beep(440, 125);
            Console.Beep(523, 125);
            Thread.Sleep(125);
            Console.Beep(440, 125);
            Console.Beep(523, 125);
            Console.Beep(587, 125);
            Thread.Sleep(250);
            Console.Beep(622, 125);
            Thread.Sleep(250);
            Console.Beep(587, 125);
            Thread.Sleep(250);
            Console.Beep(523, 125);
            Thread.Sleep(1125);
            Console.Beep(784, 125);
            Console.Beep(740, 125);
            Console.Beep(698, 125);
            Thread.Sleep(42);
            Console.Beep(622, 125);
            Thread.Sleep(125);
            Console.Beep(659, 125);
            Thread.Sleep(167);
            Console.Beep(415, 125);
            Console.Beep(440, 125);
            Console.Beep(523, 125);
            Thread.Sleep(125);
            Console.Beep(440, 125);
            Console.Beep(523, 125);
            Console.Beep(587, 125);
            Thread.Sleep(250);
            Console.Beep(784, 125);
            Console.Beep(740, 125);
            Console.Beep(698, 125);
            Thread.Sleep(42);
            Console.Beep(622, 125);
            Thread.Sleep(125);
            Console.Beep(659, 125);
            Thread.Sleep(167);
            Console.Beep(698, 125);
            Thread.Sleep(125);
            Console.Beep(698, 125);
            Console.Beep(698, 125);
            Thread.Sleep(625);
            Console.Beep(784, 125);
            Console.Beep(740, 125);
            Console.Beep(698, 125);
            Thread.Sleep(42);
            Console.Beep(622, 125);
            Thread.Sleep(125);
            Console.Beep(659, 125);
            Thread.Sleep(167);
            Console.Beep(415, 125);
            Console.Beep(440, 125);
            Console.Beep(523, 125);
            Thread.Sleep(125);
            Console.Beep(440, 125);
            Console.Beep(523, 125);
            Console.Beep(587, 125);
            Thread.Sleep(250);
            Console.Beep(622, 125);
            Thread.Sleep(250);
            Console.Beep(587, 125);
            Thread.Sleep(250);
            Console.Beep(523, 125);
            Thread.Sleep(625);
            // https://gist.github.com/davewilson/5612674


            /*Console.Beep(659, 250);
             * Console.Beep(659, 250);
             * Console.Beep(659, 300);
             * Console.Beep(523, 250);
             * Console.Beep(659, 250);
             * Console.Beep(784, 300);
             * Console.Beep(392, 300);
             * Console.Beep(523, 275);
             * Console.Beep(392, 275);
             * Console.Beep(330, 275);
             * Console.Beep(440, 250);
             * Console.Beep(494, 250);
             * Console.Beep(466, 275);
             * Console.Beep(440, 275);
             * Console.Beep(392, 275);
             * Console.Beep(659, 250);
             * Console.Beep(784, 250);
             * Console.Beep(880, 275);
             * Console.Beep(698, 275);
             * Console.Beep(784, 225);
             * Console.Beep(659, 250);
             * Console.Beep(523, 250);
             * Console.Beep(587, 225);
             * Console.Beep(494, 225);
             * //https://social.technet.microsoft.com/wiki/contents/articles/20989.
             * //music-from-the-command-line-performed-by-powershell.aspx*/

            /*Console.Beep( 660 ,100);
             * Thread.Sleep( 150);
             * Console.Beep( 660 ,100);
             * Thread.Sleep( 300);
             * Console.Beep( 660 ,100);
             * Thread.Sleep( 300);
             * Console.Beep( 510 ,100);
             * Thread.Sleep( 100);
             * Console.Beep( 660 ,100);
             * Thread.Sleep( 300);
             * Console.Beep( 770 ,100);
             * Thread.Sleep( 550);
             * Console.Beep( 380 ,100);
             * Thread.Sleep( 575);
             *
             * Console.Beep( 510 ,100);
             * Thread.Sleep( 450);
             * Console.Beep( 380 ,100);
             * Thread.Sleep( 400);
             * Console.Beep( 320 ,100);
             * Thread.Sleep( 500);
             * Console.Beep( 440 ,100);
             * Thread.Sleep( 300);
             * Console.Beep( 480 ,80);
             * Thread.Sleep( 330);
             * Console.Beep( 450 ,100);
             * Thread.Sleep( 150);
             * Console.Beep( 430 ,100);
             * Thread.Sleep( 300);
             * Console.Beep( 380 ,100);
             * Thread.Sleep( 200);
             * Console.Beep( 660 ,80);
             * Thread.Sleep( 200);
             * Console.Beep( 760 ,50);
             * Thread.Sleep( 150);
             * Console.Beep( 860 ,100);
             * Thread.Sleep( 300);
             * Console.Beep( 700 ,80);
             * Thread.Sleep( 150);
             * Console.Beep( 760 ,50);
             * Thread.Sleep( 350);
             * Console.Beep( 660 ,80);
             * Thread.Sleep( 300);
             * Console.Beep( 520 ,80);
             * Thread.Sleep( 150);
             * Console.Beep( 580 ,80);
             * Thread.Sleep( 150);
             * Console.Beep( 480 ,80);
             * Thread.Sleep( 500); */
            Console.Clear();
            TitlePage.Title();
        }
Пример #9
0
        public static void DrumKitNotes()
        {
            Console.Clear();
            Console.WriteLine("Play notes using the top two rows of letters on your keyboard");
            Console.WriteLine("Drum Kit");

// Set timer to a one second interval.
            FreePlaycl.timer          = new Timer(1000);
            FreePlaycl.timer.Elapsed += OnTimerEvent;
// Have the timer fire repeated events (true is the default)
            FreePlaycl.timer.AutoReset = false;
// Timer is "ready" to run
            FreePlaycl.timer.Enabled = true;

            while (true)
            {
                ConsoleKeyInfo cki = Console.ReadKey();
                switch (cki.KeyChar)
                {
                case 'q': PlayMidiNote(36); break;

                case 'a': PlayMidiNote(37); break;

                case 'w': PlayMidiNote(38); break;

                case 's': PlayMidiNote(39); break;

                case 'e': PlayMidiNote(40); break;

                case 'd': PlayMidiNote(41); break;

                case 'r': PlayMidiNote(42); break;

                case 'f': PlayMidiNote(43); break;

                case 't': PlayMidiNote(45); break;

                case 'g': PlayMidiNote(46); break;

                case 'y': PlayMidiNote(49); break;

                case 'h': PlayMidiNote(50); break;

                case 'u': PlayMidiNote(51); break;

                case 'j': PlayMidiNote(52); break;

                case 'i': PlayMidiNote(53); break;

                case 'k': PlayMidiNote(54); break;

                case 'o': PlayMidiNote(55); break;

                case 'l': PlayMidiNote(56); break;

                case 'p': PlayMidiNote(72); break;

                case 'x': TitlePage.Title(); break;
                }
            }
        }