unstale

pypi / librosa

librosa

What changed in librosa 1, from its official release notes, upgrade guides and advisories. Sources checked 2026-10-24.

16 breaking4 deprecations24 new APIs and options2 performance7 behavior and defaults6 fixes and other

See which of these apply to your code, ranked, in your agent:

npx @unstale/cli init

@unstale/cli 0.2.4 on npm

librosa 159 changes

Breaking changes 16

  • When ref is a function, the default operation is over trailing axes rather than the entire array, preserving channel independence; axes=None restores the 0.11 behavior.

    1.0.0upgrade guide

  • The audioread backend for loading audio files has been removed.

    1.0.0upgrade guide

  • Removes filters.constant_q in favor of wavelet.

    1.0.0upgrade guide

  • Removes filters.constant_q_lengths in favor of wavelet_lengths.

    1.0.0upgrade guide

  • Removes get_fftlib.

    1.0.0upgrade guide

  • display.wavef0 was added; it was previously named melodyplot.

    1.0.0release notes

  • The default quantization was removed, changing the function's default behavior.

    1.0.0release notes

  • Removes the filename argument in favor of path.

    1.0.0upgrade guide

  • Removes the res_type argument.

    1.0.0upgrade guide

  • When ref is a function, the default operation is over trailing axes rather than the entire array, preserving channel independence; axes=None restores the 0.11 behavior.

    1.0.0upgrade guide

  • Removes the win_length parameter.

    1.0.0upgrade guide

  • The minimum supported Python version is now 3.12.

    1.0.0upgrade guide

  • Functions that previously returned scipy.sparse.spmatrix objects now return scipy.sparse.sparse_array objects.

    1.0.0upgrade guide

  • Removes set_fftlib.

    1.0.0upgrade guide

  • Removes the x_axis parameter in favor of axis.

    1.0.0upgrade guide

  • Removes the win_length parameter.

    1.0.0upgrade guide

Deprecations 4

  • Deprecates librosa.display.cmap in favor of librosa.display.infer_cmap.

    1.0.0upgrade guide

  • Deprecates acceptance of hop_length and n_fft parameters; they will no longer be accepted in a future release.

    1.0.0upgrade guide

  • Deprecates random_state parameters as PRNG interfaces migrate to rng.

    1.0.0upgrade guide

  • Deprecates seed parameters as PRNG interfaces migrate to rng.

    1.0.0upgrade guide

New APIs and options 24

  • Adds a helper for constructing colorbars with appropriate labeling for decibel-valued data.

    1.0.0upgrade guide

  • Adds a helper for constructing colorbars with appropriate labeling for angle-valued data.

    1.0.0upgrade guide

  • Adds a helper for applying path effects such as outlines or shadows to matplotlib artists so they are more visible over spectrogram displays.

    1.0.0upgrade guide

  • Added the cmap_cyclic option to specshow.

    1.0.0release notes

  • Added the vscale option to specshow.

    1.0.0release notesupgrade guide

  • An inverted waveshow display was added.

    1.0.0release notes

  • The Metrogram Transform was added.

    1.0.0release notes

  • A hybrid tempogram implementation was added.

    1.0.0release notesupgrade guide

  • loadx was added, with a follow-up change to provide a more helpful failure mode.

    1.0.0release notes

  • Stream resampling was added.

    1.0.0release notes

  • Added an out parameter for in-place downmixing.

    1.0.0release notes

  • Dynamic vectorization was added.

    1.0.0release notes

  • Summarizes relative energy at different meters over time and can be used to estimate a recording's time signature.

    1.0.0upgrade guide

  • Adds a way to map an existing display routine over an array of matplotlib axes, sharing common parameters across subplots.

    1.0.0upgrade guide

  • Additional oct3 display modes were added.

    1.0.0release notesupgrade guide

  • Standardizes PRNG seeding on the rng= interface across the package.

    1.0.0upgrade guide

  • Signal mixing helpers were added.

    1.0.0release notes

  • Adds a flexible interface for mixing signals into different multidimensional array shapes.

    1.0.0upgrade guide

  • Adds a flexible interface for mixing signals into different multidimensional array shapes.

    1.0.0upgrade guide

  • Adds a flexible interface for mixing signals into different multidimensional array shapes.

    1.0.0upgrade guide

  • Added conversion of a warping path to a step grid.

    1.0.0release notes

  • Wavebars were added.

    1.0.0release notesupgrade guide

  • Adds a waveform display that accepts a signal and fundamental-frequency sequence and produces a frequency-displaced plot.

    1.0.0upgrade guide

  • Waveform displays add an inverted mode that applies color styling to the background rather than the signal.

    1.0.0upgrade guide

Performance 2

  • Import times are faster after eager compilation of certain numba-optimized subroutines was removed.

    1.0.0upgrade guide

  • By default, uses a sparsified transition matrix to skip low-likelihood transitions, substantially speeding up viterbi and related algorithms.

    1.0.0upgrade guide

Behavior and default changes 7

  • The release is intended to stabilize the API from the long-running 0.x series.

    1.0.0release notes

  • n_bins is inferred automatically in cqt and vqt.

    1.0.0release notes

  • Multichannel dB support was added.

    1.0.0release notes

  • Peak picking by dynamic programming was added.

    1.0.0release notes

  • Phase vocoding gained variable-rate and non-iterative capabilities.

    1.0.0release notes

  • Adds on-the-fly sample-rate conversion like load; conversion is not enabled by default in this release.

    1.0.0upgrade guide

  • Sample-rate conversion remains disabled by default for backward compatibility; the notes say the default will change in 1.1 and recommend making sr explicit.

    1.0.0upgrade guide

Fixes and other changes 6

  • Boolean data is supported by BoundedNorm for specshow.

    1.0.0release notes

  • Audio input is now validated in feature.rms.

    1.0.0release notes

  • Loading audio with a negative offset was addressed.

    1.0.0release notes

  • Underflow during perceptual weighting now produces a warning.

    1.0.0release notes

  • Python 3.14 support was added.

    1.0.0release notes

  • RNG parameters were made SPEC07 compliant.

    1.0.0release notes