January 2nd, 2009


If it's 6am and you can't sleep because there is a guy beside your head snoring

The command-line you’re looking for, to turn your laptop into ghetto noise-canceling headphones:

$ sox -t alsa hw:0 -t alsa hw:0 vol -1

Sadly, latency is a killer. And, unless you manually spin it down, the required gain will pick up your internal hard drive’s spinning platters... and make a freaky feedback effect.

These earplugs aren’t enough.