Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mokiat/wasmal
Go API for using Web Audio API in WebAssembly
https://github.com/mokiat/wasmal
go golang wasm webassembly webaudio
Last synced: 6 days ago
JSON representation
Go API for using Web Audio API in WebAssembly
- Host: GitHub
- URL: https://github.com/mokiat/wasmal
- Owner: mokiat
- License: mit
- Created: 2023-11-08T18:05:35.000Z (about 1 year ago)
- Default Branch: master
- Last Pushed: 2023-11-10T21:41:37.000Z (about 1 year ago)
- Last Synced: 2024-04-14T12:48:17.905Z (7 months ago)
- Topics: go, golang, wasm, webassembly, webaudio
- Language: Go
- Homepage: https://pkg.go.dev/github.com/mokiat/wasmal
- Size: 25.4 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Go WASM Web Audio API
This project aims to expose the Web Audio API as Go API that can be used
in wasm projects.> **Warning:** The project is in early development and the API is likely to
> change in backward incompatible ways!## Getting Started
You need to add the project as a dependency.
```
go get github.com/mokiat/wasmal@latest
```The implementation uses `syscall/js` calls and as such requires that client
applications are compiled with the `GOOS=js` and `GOARCH=wasm` options.If you are unfamiliar with how Go and WASM works, then you should have a look at
the official [WebAssembly with Go documentation](https://github.com/golang/go/wiki/WebAssembly).