Go Down

Topic: Your keyboard tray greets you (Read 621 times) previous topic - next topic

liudr

It's been snowing almost all day today. I made this little fun program to pass some time.

This software will play a tune when you pull out your keyboard tray from your computer desk. It will play another tune when you push the tray back.
It's perfect for some fun. I used the RTTTL code from Brett Hagman to generate a few tunes included in his original code. Nothing is modified from his code.
You can add a few tunes or sound effects if you prefer.
List of functions:
* Greets you with a tune when you set out to do some work on your computer, by pulling out your keyboard tray.
* Expresses farewell with a tune when you finish work on your computer, by pushing back your keyboard tray.
* TODO - display greeting message on LCD. Should be easy.
* TODO - add some sound effect tunes.
* TODO - add a menu to choose tunes from a list.

Details and code are on my blog: liudr.wordpress.com

Here is a video:

[media]http://www.youtube.com/watch?v=7JXrGsNNqJM[/media]

karlboll

What a wonderful waste of time. I love it! Did you write the code for the tune yourswelf or did you find it somewhere?
First we ignore them, then we make fun of them, then we fight them and then they win so let's cut the crap and just expose them for the corrupt liars they are.

liudr

Thankw for wasting your time to reply! That was exactly the purpose of this project!
The code was taken from:
Brett Hagman
// bhagman@roguerobotics.com
// www.roguerobotics.com

His original comments are all included in my code.

This is the page that contains the code and some details of the project:
http://liudr.wordpress.com/2010/12/12/your-keyboard-drawer-greets-you/

Go Up