I guess I'm just the kind of nerd who'll put the computer to sing, instead of singing it myself :p
So yeah... there it is.
code:
#!/bin/bash
beep -f 294 -l 400 -n -f 294 -l 400 -n -f 392 -l 1600 -n -f 370 -l 400 -n -f 392 -l 400 -n -f 440 -l 1200 -n -f 370 -l 400 -n -f 392 -l 400 -n -f 440 -l 400 -n -f 494 -l 1200 -n -f 392 -l 400 -n -f 440 -l 400 -n -f 494 -l 400 -n -f 523 -l 2400 -n -f 494 -l 1200 -n -f 440 -l 400 -n -f 392 -l 400 -n -f 370 -l 400 -n -f 440 -l 800 -n -f 392 -l 400 -n -f 370 -l 400 -n -f 392 -l 400 -n -f 440 -l 400 -n -f 494 -l 800 -n -f 523 -l 800 -n -f 440 -l 800 -n -f 392 -l 1200
exit 0
We're using beep which is a pcspkr beeper for linux systems. The f flag determines the frequency (notice we're at A440 middle C octave), the l flag determines length (in milliseconds) and the n flag tells the program to generate a new beep. The code in the video is not as effective as the code shown above. In the video, I did beep -f xxx -l xxx; beep -f xxx -l xxx... etc... i learned about the n flag about 5 minutes after I'd already done it :)
This was done using a 2001 Dell Inspiron 2500 Laptop (yeah it's 13 years old), running Debian GNU/Linux 6 (squeeze) with a 486 kernel.