Skip to content

NickGeek/Wavelength

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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)

About

Audio networking! Wavelength provides 1000bps, packets have cool sine waveforms, and it's written in python! What are you waiting for?!

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages