Basic Pitch
Lightweight neural audio-to-MIDI converter with polyphonic note and pitch-bend detection.
| Language | Python |
|---|---|
| Category | Audio analysis |
| License | Apache-2.0 |
| Platforms | macOS Windows Linux |
| Install | pip install basic-pitch |
| First released | 2022 |
| Maintained | Yes |
| Links | Website · Source |
Strengths
- Polyphonic, instrument-agnostic transcription
- Small, fast model with easy CLI and Python API
- Detects pitch bends / microtonal pitch
Limitations
- Accuracy drops on dense or noisy mixes
- Not a full multi-instrument score transcriber
Best for
Converting monophonic or polyphonic recordings into MIDI for editing or composition.
Minimal example
from basic_pitch.inference import predict_and_save
predict_and_save(["audio.wav"], "out/", True, False, False, False)