music-analyzer-wasm-rs
v0.1.0
Published
Audio analysis routines to assist with music instrument practice
Readme
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.
