pitch-detection-app
pitch-detection-app copied to clipboard
A rust / webassembly / react app to detect the pitch of audio signals in real time
Pitch Detection App
An open source pitch detection app that uses Rust and WebAssembly
Live Demo
Components
Core Pitch Detection Library
- Rust (source)
Communication with web worker
- post-me (source)
WebAssembly Wrapper
- Rust / wasm-bindgen (source)
Pitch Visualization
- TypeScript, HTML5 Canvas, D3 (source)
Single Page App
- React (source)
Building
# Build wasm
# Prerequisite: cargo and wasm-pack
cd wasm
wasm-pack build --target web
# Build the visualization
cd ../display
npm install
npm run build
# Start the app
cd ../client
npm install
npm run start