This is the web implemenation of the byte framework
See the implementation here
Byte is framework that faciliates data transmission via audible sound waves.
This project takes the input from the user, encodes it into binary and then modulates it into sound. The sound is then transmitted wirelessly through the speakers of the device. The transmitted sound is then received and recorded by the microphone of the demodulation device. The recorded sound is then demodulated and decoded to get the original message.
Encoding and decoding was done with Frequency Shift Keying (FSK)
This package uses the following libraries.
- Python 3.9
- numpy
- scipy
- sounddevice
- flask
- flask_cors
- Clone repository
git clone git@github.com:logic-ot/Byte-web.git
- Installing Depedencies
virtualenv myenv myenv\scripts\activate pip install -r requirements.txt
- Run flask
flask --app app.py --debug run
- Works flawlessly from phone-to-laptop communication but has a problem with phone-to-phone communication
I was heavily inspired to pursue this project after Jerry Buaba told me about it. I subsequently inspected his repo and fixed some issues with the demodulator and...voila, it works.