Commit Graph

166 Commits

Author SHA1 Message Date
Georgi Gerganov
0400c8dec6 Update README.md 2021-04-18 15:56:31 +03:00
Georgi Gerganov
90b963f354 Update README.md 2021-04-18 15:55:19 +03:00
Georgi Gerganov
84ba8c7f5e Update README.md 2021-04-18 13:57:36 +03:00
Georgi Gerganov
cafa304f4a Update README.md 2021-04-18 13:30:02 +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
ba87a651e3 ggwave : add option to query the generated tones
Calling the getWaveformTones() method after calling encode() gives a
list of the tones participating in the generated sound
2021-04-03 18:49:36 +03:00
Georgi Gerganov
153a6d2d6a ggsock : fix install target 2021-03-08 15:27:39 +02:00
Georgi Gerganov
80e99d361d spectrogram : disable offset for wasm build 2021-03-01 09:51:29 +02:00
Georgi Gerganov
9ea6aed9d1 waver : add shortcuts to delete messages 2021-02-28 17:27:07 +02:00
Georgi Gerganov
b1240da806 ggwave-to-file : minor fixes 2021-02-28 17:22:46 +02:00
Georgi Gerganov
9ffe6f43f6 Create README.md 2021-02-28 17:07:12 +02:00
Georgi Gerganov
6accc90199 Spectrogram - WASM port (#26)
* wip in progress

* wip

* done

* fix small window behavior
2021-02-28 17:03:55 +02:00
Georgi Gerganov
28e06d5b08 spectrogram : update tool 2021-02-28 16:27:25 +02:00
Georgi Gerganov
1875faec9d cmake : fix emscripten install targets 2021-02-28 08:02:13 +00:00
Georgi Gerganov
a0f5e9e3da waver : display detected Rx in spectrogram 2021-02-28 09:33:55 +02:00
Georgi Gerganov
74f35ebcf0 waver : fix font loading and snap build 2021-02-27 22:36:36 +02:00
Georgi Gerganov
770e464722 snap : try to fix install target 2021-02-27 21:47:33 +02:00
Georgi Gerganov
5b14586967 waver : fix emscripten build 2021-02-27 18:52:51 +00:00
Georgi Gerganov
5f2bfd09ba msys2 : fix build 2021-02-27 09:47:13 -08:00
Georgi Gerganov
d977c0fc9c waver : make the spectrogram time axis vertical 2021-02-27 15:11:24 +02:00
Georgi Gerganov
f279604989 waver : fix spectrogram display
Was exceeding 2^16 vertices
2021-02-27 15:03:09 +02:00
Georgi Gerganov
1c59e38696 ggwave : switch to floating point sampling rate 2021-02-27 12:23:25 +02:00
Georgi Gerganov
5b5293d764 Waver v1.4.0 (#23)
* waver : change default protocol

* waver : global scale to 1.25

* waver : more colors

* waver : resend last message

* waver : bigger send button

* waver : start with fixed-length enabled

* waver : fix spectrum display for fixed-length mode

* waver : add option to control input sample rate offset

* ggwave : improve fixed-length decoding

* examples-common : SDL now captures 1024 samples instead of 4096

* waver : spectrum improvements + spectrogram mode

* minor changes

* ggwave : add FFT static method

* waver : realtime spectrum display

* waver : fix dragging behavior

* waver : show current tx protocol in "Messages"

* waver : show frequency range and bandwidth of selected protocol

* waver : change sample rate offset function

output instead of input

* waver : add info about local peers

* waver : add option to pause spectrum by clicking it

* waver : minor

* waver : add option descriptions

* waver : fix data races

* waver : purple-ish background

* waver : cian-ish background

* waver : add option button to cancel receiving

* waver : add option to select Rx Protocols

* waver : change default protocol

* waver : fix displayed protocol for each message
2021-02-27 11:45:01 +02:00
Georgi Gerganov
bd9d6b1d81 ggwave-js : simplify example (#21)
Now that ggwave support input resampling, we don't need to resample
in javascript
2021-02-21 00:43:37 +02:00
Georgi Gerganov
f4fb02d5d4 ggwave : add "soundMarkerThreshold" parameter
Can be used to control the threshold used for distinguishing odd from even
frequencies in the sound markers.
2021-02-21 00:13:28 +02:00
Georgi Gerganov
19bf22df0d ggwave v0.2.0 (#20)
* ggwave : add support for fixed length transmissions

* spectrogram : add sample rate offset for debugging purposes

* gwave : fix decoding bug

* waver : wip

* wip

* remove post-marker frames

* add resampler

* ggwave : input/output resampling

* ggwave : fix python build

* ggwave : update spm

* ggwave : refactor duplicate encode/decode code

* ggwave : fix sound marker detection

* waver : fix typo

* ggwave : fix uninitialized members

* ggwave : more sensitive receive
2021-02-20 19:16:15 +02:00
Georgi Gerganov
ff5c569071 spectrogram : add simple color scaling control 2021-02-13 08:10:19 +02:00
Georgi Gerganov
2774040fdd Create README.md 2021-02-13 07:53:32 +02:00
Georgi Gerganov
ea60fffd9e spectrogram : add simple spectrogram tool (#17) 2021-02-09 21:25:47 +02:00
Georgi Gerganov
07eb33e9c9 minor : fix callback variable name 2021-02-07 20:38:23 +02:00
Georgi Gerganov
2e34d46e02 iOS SDK (#15)
* wip : creating a Swift Package Manager package

* ios : tests ready

* cmake : add ggwave-spm and spm-publish targets

* cosmetics
2021-01-30 12:38:01 +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
Georgi Gerganov
105e0fd48d update default parameters + python updates
- by default ggwave will now output 32-bit float samples
- python samples no longer use numpy
- python test now decodes payload
- fix buffer overflow in receive.py example
2021-01-23 23:30:24 +02:00
Georgi Gerganov
ba8e0cd2b1 c, python : add option to query encode size 2021-01-23 17:13:13 +02:00
Georgi Gerganov
597cc48cbb core : refactoring + bug fix
- rename callback types
- fix calculation of data frames
2021-01-23 15:47:59 +02:00
Georgi Gerganov
a64106783f Support for various sample formats (#11)
* wip : support for various sample formats

* finalize support for various sample formats

* adding more tests

* update python bindings

* add "string" header
2021-01-23 11:45:20 +02:00
Georgi Gerganov
201fdf0cbe cmake : use BUILD_SHARED_LIBS 2021-01-18 20:45:00 +02:00
Georgi Gerganov
f10b91feca update submodules 2021-01-18 20:45:00 +02:00
Georgi Gerganov
cd332b5919 ggwave : refactoring + comments 2021-01-17 21:19:41 +02:00
Georgi Gerganov
e1ba135da7 Update README.md 2021-01-17 18:35:04 +02:00
Georgi Gerganov
2ed431fa81 Add python bindings + package (#10)
* wip : python package

* wip : minor fixes

* wip : upload package to main pypi

* wip : initial text encoding

* wip : extending C api

* wip : use map of global instances

* wip : added decode functionality

* update main README
2021-01-17 17:36:50 +02:00
Georgi Gerganov
94978e679a ggwave : add default samples per frame 2021-01-16 18:39:11 +02:00
Georgi Gerganov
9fe9a0240e examples : fix build 2021-01-16 15:48:05 +02:00
Georgi Gerganov
16e74803b7 waver : fix install target 2021-01-16 15:23:23 +02:00
Georgi Gerganov
f0839d7e77 ggwave-to-gui : go back to .wav
ultrasound does not work with .mp3
2021-01-16 09:42:24 +00:00
Georgi Gerganov
b1175ce17c ggwave-to-file : http service now produces mp3 files
The .wav files could not play on most Apple software
2021-01-16 09:32:32 +00:00
Georgi Gerganov
d89205d031 ggwave-to-file : fix wav finalizing 2021-01-16 09:54:28 +02:00
Georgi Gerganov
9bfdb9f079 Update README.md 2021-01-11 19:14:35 +02:00
Georgi Gerganov
25a3ab80fe Update README.md 2021-01-11 19:13:57 +02:00
Georgi Gerganov
3c288120de imgui : use GL3W 2021-01-11 18:53:43 +02:00