0.2.0 • Published 5 years ago
dywapitchtrack v0.2.0
Dynamic Wavelet Algorithm Pitch Tracking ported to rust as wasm using wasm-pack.
🚴 Usage
🛠️ Build with wasm-pack build
wasm-pack build --release --target web🔬 Use in your project
import init, { DywaPitchTracker } from 'dywapitchtrack'
await init()
let dywa = new DywaPitchTracker()
dywa.compute_pitch(audioBuffer, startSample, sampleCount)🔋 Batteries Included
wasm-bindgenfor communicating between WebAssembly and JavaScript.console_error_panic_hookfor logging panic messages to the developer console.