Git Product home page Git Product logo

echran's Introduction

The Echo Randomizer Build Status

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.

Installation:

Grab the repo:

git clone https://github.com/LogoiLab/echran.git

Update your system:

sudo apt-get install libopenal-dev libsndfile1-dev

Build:

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

Your executable is located at:

./target/release/echran

Usage:

Input:

./echran --help

Output:

Echo Randomizer 0.1.0 Chad Baxter [email protected] A Proof of Concept truly random number generator.

USAGE:

echran randomness tone_file

FLAGS:

-h, --help Prints help information

-V, --version Prints version information

ARGS:

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.