http://www.nytimes.com/2012/05/20/science/when-buzz-at-your-...
sox -t sw -r 44100 -c 2 /dev/zero -t alsa pulse synth pinknoise vol -9 dB band -n 800 1200 fade q 5 30:00 10
It's filtered pink noise; last time I checked sox didn't have a brown noise generator.
Edit: what do you know, I just checked the man page again, and sox does now have a synth brownnoise option. You can play with the "band" parameters (or omit it) based on your local noise spectrum.
Edit 2: you can also use the "bass" and "treble" filters instead of "band"; the former are easier to understand IMO. It's been a long time since I read the sox man page; it's crazy how much it can do.
I tried your command on OS X but changing alsa to aiff but nothing plays. Any suggestion?
You can also look at the output of "sox -h" to see what audio device drivers your sox has.
So for me a "library rules" office would just mean fewer conversations to drown out the little noises that nobody even realises they're making. I'm sure I unknowingly make some variety of noise that someone else hates too.