spotify/basic-pitch

A lightweight yet powerful audio-to-MIDI converter with pitch bend detection

51
/ 100
Established

Employs a lightweight instrument-agnostic neural network that supports polyphonic transcription with multipitch estimation, trained by Spotify's Audio Intelligence Lab and published at ICASSP 2022. Provides multiple model serialization formats (TensorFlow, CoreML, TensorFlowLite, ONNX) with platform-specific defaults to minimize dependencies—TensorFlow on Python 3.11+, CoreML on macOS, TensorFlowLite on Linux, and ONNX on Windows. Exposes both CLI and programmatic Python APIs with configurable frequency filtering and batch processing support via preloaded model objects.

4,764 stars.

No Package No Dependents
Maintenance 6 / 25
Adoption 10 / 25
Maturity 16 / 25
Community 19 / 25

How are scores calculated?

Stars

4,764

Forks

422

Language

Python

License

Apache-2.0

Last pushed

Nov 13, 2025

Commits (30d)

0

Get this data via API

curl "https://pt-edge.onrender.com/api/v1/quality/ml-frameworks/spotify/basic-pitch"

Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.