Crates.io | uni-snd |
lib.rs | uni-snd |
version | 0.2.1 |
source | src |
created_at | 2018-08-04 10:49:46.6208 |
updated_at | 2022-10-11 08:39:41.006582 |
description | Unrust low level native/wasm compatibility layer for sound output |
homepage | |
repository | https://github.com/unrust/uni-snd |
max_upload_size | |
id | 77460 |
size | 67,673 |
This library is a part of Unrust, a pure rust native/wasm game engine. This library provides a low level native/wasm compatibility layer for following components :
uni-snd = "0.2.*"
See oscillator example.
Install wasm32 target :
rustup target install wasm32-unknown-unknown
Compile the demo with
wasm-pack build examples
This creates a wasm package in examples/pkg
Run the demo with
cd www
npm install
npm run start
Open your browser at http://localhost:8080/
cargo run --example oscillator --release
Licensed under either of
at your option.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.