Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/alesgenova/pitch-detection-app

A rust / webassembly / react app to detect the pitch of audio signals in real time
https://github.com/alesgenova/pitch-detection-app

audio-analysis audio-visualizer rust wasm wasm-bindgen webassembly

Last synced: 3 days ago
JSON representation

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

Awesome Lists containing this project

README

        

# Pitch Detection App
An open source pitch detection app that uses Rust and WebAssembly

## Live Demo
[![Demo Page](./demo.png)](https://alesgenova.github.io/pitch-detection-app/)

## Components
### Core Pitch Detection Library
- Rust ([source](https://github.com/alesgenova/pitch-detection))

### Communication with web worker
- post-me ([source](https://github.com/alesgenova/post-me))

### WebAssembly Wrapper
- Rust / wasm-bindgen ([source](https://github.com/alesgenova/pitch-detection-app/tree/master/wasm))

### Pitch Visualization
- TypeScript, HTML5 Canvas, D3 ([source](https://github.com/alesgenova/pitch-detection-app/tree/master/display))

### Single Page App
- React ([source](https://github.com/alesgenova/pitch-detection-app/tree/master/client))

### Building
```bash
# 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
```