Commit Graph

21 Commits

Author SHA1 Message Date
Georgi Gerganov
2bc3c60d03 js : update + fix test 2022-07-04 21:18:20 +03:00
Georgi Gerganov
7c5b614c16 ggwave : big refactoring / renaming 2022-07-04 21:18:20 +03:00
Georgi Gerganov
f5e08d921b ggwave : various improvements
- faster FFT implementation
- built-in Direct Sequence Spread option
- remove <map> dependency from implementation
- update arduino-rx example
2022-07-04 21:18:20 +03:00
Georgi Gerganov
cf7f474938 ggwave : add option to only generate tones on Tx 2022-07-04 21:18:20 +03:00
Georgi Gerganov
6bbe8ecec3 wip : refactoring 2022-07-04 21:18:20 +03:00
Georgi Gerganov
d135fbbef4 js : decode now returns typed array and cannot be null
If no data is decoded, then the returned array is empty.
2022-05-02 19:07:06 +03:00
Georgi Gerganov
dbcb68a473 emscripten : fix CMake variable name + update ggwave.js 2022-02-02 22:58:10 +02:00
Georgi Gerganov
71aabb3fc3 emscripten : fix compile warnings + update ggwave.js 2021-11-27 13:17:28 +02:00
Georgi Gerganov
1fedf68a41 ggwave v0.3.1 2021-11-27 13:07:16 +02:00
Georgi Gerganov
bbacdbcc96 c-api : add toggleRxProtocol() (#60)
This function allows to enable/disable Rx protocols during the decoding
process. This is useful when the Tx/Rx protocol is known in advance.
2021-11-22 21:29:26 +02:00
Georgi Gerganov
1ebe881ea9 ggwave : update bindings to toggle logging on and off (#55)
ref #54
2021-11-22 20:17:16 +02:00
Georgi Gerganov
1a0af88ed6 js : add the custom protocol values to the Emscripten enum 2021-09-13 09:11:47 +03:00
Georgi Gerganov
87d6cc1389 ggwave v0.3.0 2021-07-03 11:54:10 +03:00
Georgi Gerganov
00b23ff54f r2t2 - Transmit data through the PC speaker (#32)
* inital implementation

* remove file

* ggwave-cli : txProtocol -> txProtocolId

* ggwave : add custom protocol enum values

* r2t2 : use cutom protocols

* r2t2 : build only on Unix systems

* r2t2 : remove thread

* r2t2-rx : wip

* r2t2 : wasm build ready + various fixes

* r2t2 : error message

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* r2t2 : length 16

* r2t2 : use slow protocol by default

* r2t2 : add timestamp

* r2t2 : update html

* r2t2 : update github link

* r2t2 : more robust tx

* r2t2 : add option to use beep command

* emscripten : cannot use requestAnimationFrame when capturing audio

This causes the queued audio buffer to grow indefinitely when the page
is not focused, causing the process to run out of memory.

* r2t2 : disable beep option

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* r2t2 : add example to README
2021-04-18 13:20:45 +03:00
Georgi Gerganov
bdf56d2f8f ggwave : update js bindings 2021-02-27 12:27:18 +02:00
Georgi Gerganov
553b414929 ggwave : more resampling fixes
This time the sound cracking should be fixed for real.

Also adding option to generate noise in the cpp tests
2021-02-21 13:30:27 +02:00
Georgi Gerganov
bf4be2a4f4 js : update ggwave.js 2021-02-20 22:45:29 +00:00
Georgi Gerganov
d3732946c6 close #19 : add cmake option for single-file wasm build
If enabled, we build ggwave using "-s SINGLE_FILE=1" which causes
the WASM to be embedded inside the .js file.

Otherwise, 2 separate files are produced:
- libggwave.js
- libggwave.wasm
2021-02-20 19:57:47 +02:00
Georgi Gerganov
580090c721 ggwave v0.2.0 2021-02-20 19:42:16 +02:00
Georgi Gerganov
51d7bd9e18 npm : add README.md 2021-01-24 20:55:34 +02:00
Georgi Gerganov
19f353018d Javascript bindings (#14)
* Initial version ready

- bindings are in `bindings/emscripten.cpp`
- minimal Javascript example is in `examples/ggwave-js`

* add npm package + add test-ggwave.js

* js : rename export name to "ggwave_factory"

* update to v0.1.5

* Update README.md

* npm : add npm-publish target
2021-01-24 17:25:58 +02:00