add readme and requirements.txt

This commit is contained in:
2026-07-20 20:45:19 -03:00
parent 7d7d5b08eb
commit e5615d93fd
3 changed files with 22 additions and 0 deletions
+1
View File
@@ -0,0 +1 @@
venv/
+19
View File
@@ -0,0 +1,19 @@
# transmit data over sound
## setup
after cloning this repository, is recommended to create a virtual environment to install the needed packages:
`python3 -m venv venv`
on mac/linux:
`source venv/bin/activate`
on windows:
`venv\Scripts\activate`
now you can install the requirements:
`python3 -m pip install -r requirements.txt`
## transmit data
edit the line 9 of transmissor.py file, replacing the string that you want to transmit:
`payload = b"Hello World!"`
and run transmissor.py, it will generate the noise of data, you can record it externally
## decode data
run receptor.py, it will stay hearing the built in microphone and decode all heared data
+2
View File
@@ -0,0 +1,2 @@
ggwave==0.4.3
PyAudio==0.2.14