The Patchbay_

librosa vs Essentia

Both extract features from audio. librosa is the easier one to learn and prototype with; Essentia is faster, broader and built for production.

Short answer. Research, prototyping, teaching, notebooks → librosa. Production systems, large catalogues, high-level descriptors → Essentia. Note Essentia is AGPL-3.0, which is a genuine constraint.

Side by side

librosa Essentia
CorePython + NumPyC++ with Python bindings
SpeedAdequateMuch faster
Installpip install librosaHeavier
Pretrained modelsNoYes — genre, mood, instruments
LicenceISC — permissiveAGPL-3.0
Learning curveGentleSteeper
LanguagePythonPython
LicenseISCAGPL-3.0-only
PlatformsmacOS Windows LinuxmacOS Windows Linux iOS Android
First released20132013
MaintainedYesYes

Where they actually differ

AGPL is the first thing to check

Essentia is AGPL-3.0, which reaches across a network boundary — offering a service built on it can oblige you to release your source. librosa is ISC, which is permissive and unproblematic. For commercial work this can decide the matter before any technical comparison.

Essentia is dramatically faster

A C++ core makes a real difference on large catalogues. For a handful of files nobody notices; for a hundred thousand, librosa becomes the bottleneck and Essentia does not.

Pretrained models are Essentia’s other advantage

Genre, mood, danceability and instrument classifiers ship ready to use. Getting equivalent high-level descriptors from librosa means training something yourself on top of its features.

librosa is much easier to live in

Clean NumPy-native API, excellent documentation, and it behaves exactly as expected in a notebook. For exploration, teaching and papers it remains the default for good reason.

Which should you choose?

Choose librosa when…

Choose Essentia when…

librosa detailsEssentia detailsAll ML & generative

← All comparisons