/pitch-detection-app

A rust / webassembly / react app to detect the pitch of audio signals in real time

Primary LanguageTypeScriptMIT LicenseMIT

Pitch Detection App

An open source pitch detection app that uses Rust and WebAssembly

Live Demo

Demo Page

Components

Core Pitch Detection Library

Communication with web worker

WebAssembly Wrapper

  • Rust / wasm-bindgen (source)

Pitch Visualization

  • TypeScript, HTML5 Canvas, D3 (source)

Single Page App

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