Ivan Porto Carrero

IO(thoughts) flatMap (_.propagandize)

22

Oct
2008

If You Ever Wanted to Play Fur Elise in the Console

At work today we were playing around with the console.. here’s one of our experiments whilst creating a stoplight workflow (WF).

private static void FurElise()
{
        Console.Beep(420, 200);
        Console.Beep(400, 200);
        Console.Beep(420, 200);
        Console.Beep(400, 200);
        Console.Beep(420, 200);
        Console.Beep(315, 200);
        Console.Beep(370, 200);
        Console.Beep(335, 200);
        Console.Beep(282, 600);
        Console.Beep(180, 200);
        Console.Beep(215, 200);
        Console.Beep(282, 200);
        Console.Beep(315, 600);
        Console.Beep(213, 200);
        Console.Beep(262, 200);
        Console.Beep(315, 200);
        Console.Beep(335, 600);
        Console.Beep(213, 200);
        Console.Beep(420, 200);
        Console.Beep(400, 200);
        Console.Beep(420, 200);
        Console.Beep(400, 200);
        Console.Beep(420, 200);
        Console.Beep(315, 200);
        Console.Beep(370, 200);
        Console.Beep(335, 200);
        Console.Beep(282, 600);
        Console.Beep(180, 200);
        Console.Beep(215, 200);
        Console.Beep(282, 200);
        Console.Beep(315, 600);
        Console.Beep(213, 200);
        Console.Beep(330, 200);
        Console.Beep(315, 200);
        Console.Beep(282, 600);
}

Comments

To top