https://github.com/nickgeek/wavelength
Audio networking! Wavelength provides 1000bps, packets have cool sine waveforms, and it's written in python! What are you waiting for?!
https://github.com/nickgeek/wavelength
Last synced: 3 months ago
JSON representation
Audio networking! Wavelength provides 1000bps, packets have cool sine waveforms, and it's written in python! What are you waiting for?!
- Host: GitHub
- URL: https://github.com/nickgeek/wavelength
- Owner: NickGeek
- License: mpl-2.0
- Created: 2014-11-27T06:54:24.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2014-11-27T11:07:02.000Z (over 11 years ago)
- Last Synced: 2025-12-26T19:41:42.665Z (6 months ago)
- Language: Python
- Size: 160 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Wavelength
==========
Audio networking! Wavelength provides transfer speeds of 1000bps, packets have cool sine waveforms, and it's written in python! What are you waiting for?!
###Usage
python3 decoder.py file.wav
###Notes
* Reads 16bit WAV files
* Data in 2 bit chunks
* Frequency decided by: 23+n. Nmin = 0, Nmax = 3
* Chunks last 1ms
* 00 = >5400
* 01 = >5000<5400
* 10 = >4000<5000
* 11 = <4000
* Create a sine wave going from 23+n to 23+n*100, (e.g. 8Hz to 800Hz), they will average out to give the above chunks.
* This is easiest created using the chirp function in audacity
* Use a amplitude of 0.1 and 1.8
###Units
* Bit = 1 binary digit
* Chunk = 2 consecutive bits (2 binary digits)
* Block = 4 consecutive chunks (8 bits, 8 binary digits)