Y
Hacker News
new
|
ask
|
show
|
jobs
by
umanwizard
1832 days ago
Not sure if it still works, but catting /dev/random to a sound device used to be a great way to test that your speakers were working by producing ear-splitting static noise.
3 comments
iamtedd
1832 days ago
A more pleasant method could be:
http://kmkeen.com/awk-music/
link
makeworld
1832 days ago
cat /dev/urandom | aplay
Still works well on my machine, and I use it all the time to test :)
link
umanwizard
1832 days ago
Ah, neat, but I seem to remember catting it to an actual device node, not to an executable.
link
adamnew123456
1832 days ago
You're thinking of /dev/dsp, which was an OSS thing before the move to ALSA. It still exists on the BSDs AFAIR but has to be emulated on modern Linux:
https://unix.stackexchange.com/questions/103746/why-wont-lin...
link
umanwizard
1832 days ago
Yep, that’s the one!
link
hpb42
1832 days ago
You can: cat /dev/urandom | aplay
link