Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
School-Cotton
· 5y ago · 0 comments
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.
Comments
[–]
iamtedd
5y ago
A more pleasant method could be:
http://kmkeen.com/awk-music/
[–]
makeworld
5y ago
cat /dev/urandom | aplay
Still works well on my machine, and I use it all the time to test :)
[–]
School-Cotton
OP
5y ago
Ah, neat, but I seem to remember catting it to an actual device node, not to an executable.
[–]
adamnew123456
5y 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...
[–]
School-Cotton
OP
5y ago
Yep, that’s the one!
[–]
hpb42
5y ago
You can: cat /dev/urandom | aplay