News for hackers. Stuff that matters.
Re:/dev/audio by bodyfour on Tuesday November 08, 2011 @07:01PM (#3213516)
That reminds me of a couple tricks I used to use in the old days. As an alarm clock I'd do:

  $ sleep 28800; while :; do cat /etc/termcap; done >/dev/audio
I found that termcap had just the right mix of structure and randomness to make an annoying noise that was really hard to sleep through.

Another classic was:

  $ ping -f hostname >/dev/audio
When you have zero packet loss, "ping -f" would generate an endless sequence of '.' and '\b' characters, resulting in a constant tone. When there is 100% loss you only get the '.' characters and the sound will stop. In between, you'll get a progressively noisier sound. Then just turn the speakers on your SPARCstation all the way up and crawl around the lab, flexing the 10base2 cabling until you find what segment is causing that irritating intermittent problem!
Re:/dev/audio by ja27 on Tuesday November 08, 2011 @07:32PM (#3213623)
rsh coworkersbox "cat /dev/audio" > /dev/audio

Or vice-versa. Not sure what systems it'd still work on, but it was a lot of fun on pre-Solaris SunOS machines.

Re:/dev/audio by nitrogen on Wednesday November 09, 2011 @02:46AM (#3214694)

  ssh otherbox cat /dev/dsp > /dev/dsp
should work on a Linux system with OSS emulation enabled. Or, if you have alsa-utils installed on both systems:

  ssh otherbox arecord -D plughw | aplay -D plughw
Re:/dev/audio by DanielRibeiro on Wednesday November 09, 2011 @10:13AM (#3215729)
You can also hear the sound of any phrase:

    $ yes hacker news  >/dev/audio