Commit Graph

14 Commits

Author SHA1 Message Date
Georgi Gerganov
8c5752567c remove FFTW stuff
using a simple FFT algorithm instead
2020-11-28 09:51:58 +02:00
Georgi Gerganov
d831945bb2 add option to resend last input 2019-08-10 11:33:56 +03:00
Georgi Gerganov
68cf67ac62 use 16 marker frames instead of 8 2019-08-10 11:25:12 +03:00
Georgi Gerganov
c8c4ac75db Adding CLI tool 'wave-share' 2019-08-10 11:17:17 +03:00
Georgi Gerganov
8ff24e125e Fix the getIPs() function
Noticed it stopped working on Chrome.

Was using a stun server (due to copy paste from the reference link)
when one was not actually needed to create the RTCPeerConnection
2019-06-13 20:51:26 +03:00
Georgi Gerganov
be44800fa0 Adding support for variable data length
The length of the data is encoded in the first 3 bytes of the transmission:
  - Byte 0: data length
  - Byte 1: ECC
  - Byte 2: ECC

For this type of transmission it is necessary to add an "end-of-message"
marker at the end of the Tx. This marker is used by the receiver to
understand when the transmission is over. At this point the receiver starts
analyzing the recorded data. First, the data length is decoded. After, this
length is used to try to decode the remaining data.

The number ECC bytes used for the payload is calculated as 2*(N/5), where N
is the length of the payload.
2018-05-31 19:19:37 +03:00
Georgi Gerganov
953501c924 Refactoring 2018-05-06 12:34:12 +03:00
Georgi Gerganov
b85e8cfab2 Attempt to fix blinking capture LED issue 2018-05-05 13:15:05 +03:00
Georgi Gerganov
011bc0d7ad Handle gracefully when no capture device is present 2018-05-05 11:57:42 +03:00
Georgi Gerganov
948ba4e64d Fix empty capture spectrum check 2018-05-05 10:14:34 +03:00
Georgi Gerganov
db1c128f56 Minor optimizations 2018-05-05 09:53:07 +03:00
Georgi Gerganov
77d9f646f8 Init the code only after the user presses a button 2018-05-04 19:06:17 +03:00
Georgi Gerganov
cc3f4858f4 Extend JS interface with output/capture device status functions 2018-05-04 18:05:10 +03:00
Georgi Gerganov
23fc4ca051 Initial commit 2018-04-29 13:34:44 +03:00