Skip to content

Sound (unidirectional) communication between two devices.

Notifications You must be signed in to change notification settings

sidartaveloso/device2device

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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]}
}

About

Sound (unidirectional) communication between two devices.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%