Commit Graph

229 Commits

Author SHA1 Message Date
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
0c746c1b15 tests : add test for capture/playback at different sample rates 2021-01-23 16:27:50 +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
ccb7fae08d Update README.md 2021-01-23 14:47:36 +02:00
Georgi Gerganov
7c235b3f2c cmake : add pypi-publish target 2021-01-23 14:47:17 +02:00
Georgi Gerganov
3f690868a4 update to v0.1.4 2021-01-23 14:36:11 +02:00
Georgi Gerganov
f245b6e930 tests : add C test 2021-01-23 14:25:18 +02:00
Georgi Gerganov
3462383b07 ci : remove python 2.7 2021-01-23 13:27:42 +02:00
Georgi Gerganov
069bc02a82 ci : add output-on-failure to ctest 2021-01-23 13:24:08 +02:00
Georgi Gerganov
342150b356 ci : disable examples for python job 2021-01-23 13:19:37 +02:00
Georgi Gerganov
0bb455041e cmake : add python support 2021-01-23 13:15:16 +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
440a87807e Update README.md 2021-01-20 22:44:33 +02:00
Georgi Gerganov
2811934e45 update .gitignore 2021-01-19 22:05:30 +02:00
Georgi Gerganov
cc11d0523d ci : fix yml 2021-01-18 21:39:13 +02:00
Georgi Gerganov
86b3615012 tests : adding first tests + sanitizer builds 2021-01-18 21:32:27 +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
9645938e2e ggwave : fix indentation 2021-01-17 23:08:22 +02:00
Georgi Gerganov
f879cda47c Update README.md 2021-01-17 22:49:00 +02:00
Georgi Gerganov
a3a7a0ce8a Update README.md 2021-01-17 21:45:43 +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
3417c44b73 Update README.md 2021-01-17 17:41:19 +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
826e6f2bb1 ggwave : fix shared lib build 2021-01-16 15:37:03 +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
ggerganov
88292c686c update .gitignore 2021-01-15 20:38:51 +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
f0bec20d44 Update README.md 2021-01-11 19:12:47 +02:00
Georgi Gerganov
4a5916df9c Update README.md 2021-01-11 19:12:08 +02:00
Georgi Gerganov
eb882f155b waver : install fonts waver-v1.3.2-brew-fixed 2021-01-11 19:03:50 +02:00
Georgi Gerganov
abe10a31dc update .gitignore waver-v1.3.2-brew 2021-01-11 18:55:24 +02:00
Georgi Gerganov
3c288120de imgui : use GL3W 2021-01-11 18:53:43 +02:00
Georgi Gerganov
ffab3cb836 cmake : add install target for waver waver-v1.3.2 2021-01-11 18:39:14 +02:00
Georgi Gerganov
71e9cb2c39 Update README.md 2021-01-10 17:20:12 +02:00
Georgi Gerganov
ceef0bf75d Update README.md 2021-01-10 16:01:49 +02:00
Georgi Gerganov
901a068d9e Update README.md 2021-01-10 16:01:00 +02:00
Georgi Gerganov
761c4c7641 ggwave-to-file : update python example 2021-01-10 15:56:16 +02:00
Georgi Gerganov
a15f51e4bb ggwave-to-file : fix http service argument handling 2021-01-10 13:49:24 +00:00
Georgi Gerganov
cfa41edde2 ggwave-to-file : update http service api 2021-01-10 15:39:37 +02:00
Georgi Gerganov
7fa5b84a08 ggwave-to-file : handle invalid arguments 2021-01-10 15:37:05 +02:00