Brown noise is the lower-frequency component of white noise (the random static you can hear between radio and TV channels). Research shows that brown noise can aid in concentration (http://skeptics.stackexchange.com/a/8066). I had a brown noise mp3 that I would leave looping, but every 10 minutes when it looped it paused for a split second, which could be jarring during moments of focus. So I decided to make this program, which spits out unlimited brown noise forever.
- Uses the free and excellent NAudio library for the actual playback (https://github.com/naudio/NAudio)
- Prepare a buffer of samples to play by filling the buffer with random noise (NoiseProvider32.Read)
- Pass it through a low-pass filter at 3kHz (in the Read method, filter.Transform)
- Play that