mirror of
https://github.com/ggerganov/ggwave.git
synced 2026-03-06 23:05:53 +08:00
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
This commit is contained in:
18
README.md
18
README.md
@@ -4,6 +4,7 @@
|
||||
[](https://opensource.org/licenses/MIT)
|
||||
[![ggwave badge][changelog-badge]][changelog]
|
||||
[](https://pypi.org/project/ggwave/)
|
||||
[](https://www.npmjs.com/package/ggwave/)
|
||||
|
||||
Tiny data-over-sound library.
|
||||
|
||||
@@ -88,14 +89,15 @@ Reed-Solomon decoding is finally performed to obtain the original data.
|
||||
The [examples](https://github.com/ggerganov/ggwave/blob/master/examples/) folder contains several sample applications of the library:
|
||||
|
||||
|
||||
| Example | Description | Backend |
|
||||
| ------- | ----------- | ------- |
|
||||
| Example | Description | Audio |
|
||||
| ------- | ----------- | ----- |
|
||||
| [ggwave-rx](https://github.com/ggerganov/ggwave/blob/master/examples/ggwave-rx) | Very basic receive-only program | SDL |
|
||||
| [ggwave-cli](https://github.com/ggerganov/ggwave/blob/master/examples/ggwave-cli) | Command line tool for sending/receiving data through sound | SDL |
|
||||
| [ggwave-wasm](https://github.com/ggerganov/ggwave/blob/master/examples/ggwave-wasm) | WebAssembly module for web applications | SDL |
|
||||
| [ggwave-to-file](https://github.com/ggerganov/ggwave/blob/master/examples/ggwave-to-file) | Output a generated waveform to an uncompressed WAV file | - |
|
||||
| [waver](https://github.com/ggerganov/ggwave/blob/master/examples/waver) | GUI application for sending/receiving data through sound | SDL |
|
||||
| [ggwave-py](https://github.com/ggerganov/ggwave/blob/master/examples/ggwave-py) | Python examples | - |
|
||||
| [ggwave-py](https://github.com/ggerganov/ggwave/blob/master/examples/ggwave-py) | Python examples | PortAudio |
|
||||
| [ggwave-js](https://github.com/ggerganov/ggwave/blob/master/examples/ggwave-js) | Javascript example | Web Audio API |
|
||||
|
||||
Other projects using **ggwave** or one of its prototypes:
|
||||
|
||||
@@ -147,6 +149,14 @@ pip install ggwave
|
||||
|
||||
More info: https://pypi.org/project/ggwave/
|
||||
|
||||
### Node.js
|
||||
|
||||
```bash
|
||||
npm install ggwave
|
||||
```
|
||||
|
||||
More info: https://www.npmjs.com/package/ggwave
|
||||
|
||||
## Installing the Waver application
|
||||
|
||||
[](https://snapcraft.io/waver)
|
||||
@@ -165,5 +175,5 @@ sudo snap connect waver:audio-record :audio-record
|
||||
```
|
||||
|
||||
[changelog]: ./CHANGELOG.md
|
||||
[changelog-badge]: https://img.shields.io/badge/changelog-ggwave%20v0.1.4-dummy
|
||||
[changelog-badge]: https://img.shields.io/badge/changelog-ggwave%20v0.1.5-dummy
|
||||
[license]: ./LICENSE
|
||||
|
||||
Reference in New Issue
Block a user