Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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).