Skip to content

Latest commit

 

History

History
48 lines (37 loc) · 1.61 KB

README.md

File metadata and controls

48 lines (37 loc) · 1.61 KB

Byte-web

This is the web implemenation of the byte framework

VID-20230608-WA0005_exported_25463

Website

See the implementation here

Description

Byte is framework that faciliates data transmission via audible sound waves.

How It Works

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)

Dependencies

This package uses the following libraries.

  • Python 3.9
  • numpy
  • scipy
  • sounddevice
  • flask
  • flask_cors

Installing and Executing program

  1. Clone repository
    git clone [email protected]:logic-ot/Byte-web.git
    
  2. Installing Depedencies
    virtualenv myenv
    myenv\scripts\activate    
    pip install -r requirements.txt
    
  3. Run flask
    flask --app app.py --debug run
    

Limitations

  • Works flawlessly from phone-to-laptop communication but has a problem with phone-to-phone communication

Motivation

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.