spotify/basic-pitch
A lightweight yet powerful audio-to-MIDI converter with pitch bend detection
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.
Stars
4,764
Forks
422
Language
Python
License
Apache-2.0
Category
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.
Related frameworks
libAudioFlux/audioFlux
A library for audio and music analysis, feature extraction.
tyiannak/pyAudioAnalysis
Python Audio Analysis Library: Feature Extraction, Classification, Segmentation and Applications
CPJKU/madmom
Python audio and music signal processing library
MTG/mtg-jamendo-dataset
Metadata, scripts and baselines for the MTG-Jamendo dataset
spotify/pedalboard
🎛 🔊 A Python library for audio.