Hacker News new | ask | show | jobs
by pyre 4856 days ago
I've always enjoyed the whitenoise of HVAC systems. It was always pleasant in college to find empty classrooms after-hours, with just the whirr of the HVAC.
3 comments

You want a Marpac 980 white noise maker. It's a little fan in a box with tone adjustments (no speaker involved). Amazing white noise.
Me too. I found this pack of high-quality recordings of various fans and blowers:

http://www.freesound.org/people/Stomp/packs/990/

I loop my favorite samples which makes for a nice background.

Spice up your noise a bit:

http://archive.org/details/ApplPi

beautiful! but how does it work? can we look at the source without decompilation?
No unfortunately not. Maybe I'll put it on my GitHub soon. I was thinking maybe I'd find some way to make money on this, so I haven't released the source yet.

As to how it works, internally there's a modular data processing pipeline. I wrote a number of modules that serve a specific purpose (sine wave, square, etc, and reverb, gain, etc). They all get connected together in a driver class. Each driver makes heavy use of random numbers. Those in turn decide the notes played and durations. The durations are extremely short, leading to a granular synthesis of sorts. The notes are chosen from classes I structured around standard chord theory and classical modes.

I have an unreleased version that processes mic input, but it's not ready for prime time yet.

Edit: I decided to release it, probably under AGPL license. Keep an eye on this page: https://github.com/hollingsworthd/ApplPi