0.1.0 • Published 5 years ago
music-analyzer-wasm-rs v0.1.0
About
Routines for music analysis written in Rust packages into WebAssembly.
🚴 Usage
🛠️ Build with wasm-pack build
wasm-pack build --target webNote: --target web provides necessary glue code in the generated .js for easy consumtion by an AudioWorklet. Omit if this is to be consumed from a regular Javascript module.
🔬 Test in Headless Browsers with wasm-pack test
wasm-pack test --headless --firefox🎁 Publish to NPM with wasm-pack publish
wasm-pack publish --target web🔋 Batteries Included
- wasm-bindgenfor communicating between WebAssembly and JavaScript.
- console_error_panic_hookfor logging panic messages to the developer console.
- wee_alloc, an allocator optimized for small code size.
- cqtfor applying a cqt transform to calculate pitches present in an audio sample.
0.1.0
5 years ago