Skip to content

Latest commit

 

History

History
38 lines (35 loc) · 1 KB

README.md

File metadata and controls

38 lines (35 loc) · 1 KB

device2device

Sound (unidirectional) communication between two devices.


Install dependencies (Ubuntu 20.04)

$ sudo apt install python3.8-venv
$ python3 -m venv venv
$ pip install numpy
$ sudo apt-get install -y python3-dev libasound2-dev
$ pip install wheel
$ pip install simpleaudio
$ sudo apt-get install portaudio19-dev
$ pip install pyaudio
$ pip freeze > requirements.txt

If requirements.txt already exists, run:
$ pip install -r requirements.txt

How to Use?

source venv/bin/activate
python3 transmissor.py
Availaible commands: teste,cima,baixo,direita,esquerda,trás,frente, canal
To change the channel = canal < int > (min 10 - max 200)

source venv/bin/activate
python3 receptor.py

Citing

If you use our code, please cite our work:

@misc{saulocatharino,
title={device2device},
author={Saulo Catharino},
year={2021},
email={[email protected]}
}