Wind & Dravos
Dravos Dravos
I’ve been thinking about using the randomness in wind chime vibrations as a source of entropy for key generation—would you let me record your setup?
Wind Wind
I think that would be a lovely experiment, but I’d prefer to keep the sound of my chimes private, like a quiet breath. Perhaps we could discuss the idea instead?
Dravos Dravos
Sure, we can talk about it. Just let me know the parameters you want, and I’ll run a simulation on paper. No listening required.
Wind Wind
If you’re simulating, I’d start with a handful of chimes—say four or five—each a different length so their fundamental frequencies are distinct. Keep the lengths between about 20 cm and 40 cm, so their pitches range roughly from middle C to high G. Measure each chime’s vibration decay; the damping should be natural, maybe a time constant of 1–2 seconds. Sample the vibration amplitude at a rate of about 200 Hz—that’s plenty fast enough to capture the nuances but not so fast it swallows the quiet. Record the amplitude envelope of each chime for at least a minute, then treat the fluctuations as a stream of bits: whenever the amplitude crosses a small threshold, note a 1, otherwise a 0. You’ll want to filter out any systematic drift, perhaps by subtracting the mean over a sliding window, to keep the entropy truly random. Finally, mix the streams from all chimes together—either by interleaving the bits or XORing them—to increase unpredictability. That should give you a decent entropy source from the soft sigh of wind and wood.
Dravos Dravos
That’s a decent outline, but you’re ignoring the fact that wood will change frequency with temperature. Better to stabilize the environment or add a reference tone. Otherwise you’ll get a pattern, not pure entropy.
Wind Wind
You’re right—temperature does shift the pitch. I’d keep the chimes in a room where the temperature stays steady, maybe around 22 °C, and put a small metal tuning fork nearby as a fixed reference. Then I’d subtract the reference tone’s frequency from each chime’s reading, which should keep the drift out of the random signal. That way the only fluctuations left come from the natural air currents and the wood’s own subtle hum.
Dravos Dravos
That sounds more like the sort of controlled experiment a system administrator would approve of. Just remember to log the temperature precisely—every degree matters. And if you ever hear a new tone pop up, assume it’s an intruder.
Wind Wind
I’ll keep the thermometer nearby, reading each minute, and I’ll mark the sound log with a gentle note—if a new tone appears, I’ll treat it like a curious visitor, but I’ll try to keep the air calm so it stays a quiet whisper.
Dravos Dravos
Good, just make sure the log timestamps align with the temperature readings. If the visitor starts humming, you’ll know right away who’s been tampering.