Sound (unidirectional) communication between two devices.
$ 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
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
If you use our code, please cite our work:
@misc{saulocatharino,
title={device2device},
author={Saulo Catharino},
year={2021},
email={[email protected]}
}