zomgistania

Main page | About | Articles | Previous Posts | Archives

Thursday, September 14, 2006

Beep beep.

Being somewhat bored and such again, I figured out a way to use the PC Speaker to play sounds with C#. It's actually pretty simple, just use the winapi Beep() function.

Of course that's not all! I made a small class which can be used to play songs (or annoying beeps) with the PC speaker and a console app which uses it.

The notation is simple enough: ,

Labels: , ,

1 Comments:

  • Really cool.like I said in:
    http://my.opera.com/zomg/blog/2007/04/13/having-fun-with-the-pc-speaker

    :-)

    By Anonymous Anonymous, at 9:41 PM  

Post a Comment

<< Home