The Echo Randomizer

A proof of concept truly random number generator.

The Echo Randomizer utilizes a speaker and microphone to read an "echo" of a room. Like sonar the microphone picks up a tone played by the speaker that has been changed by the environment it has echoed through. Effectively using the room around you as a random number generation seed.

The idea is that the sonic environment around you is constantly changing.

Not only that, but the hardware used to "echo" is unique to any given computer.

The only way to break this would be to soundproof and airflow-proof an unchanging room. If this were done you'd get the same results every time.


Grab the repo:

git clone

Update your system:

sudo apt-get install libopenal-dev libsndfile1-dev md5sum


cd echran && cargo update && cargo build --release

Your executable is located at:




./echran --help


Echo Randomizer 0.1.0 Chad Baxter A Proof of Concept truly random number generator.


echran randomness tone_file


-h, --help Prints help information

-V, --version Prints version information


randomness Length of recording in milliseconds.

tone_file The path to an ogg tone file to play.

This project is licensed under the Software Distribution Disclaimer License

Built With

  • rust
Share this project: