What changed in librosa from 0 to 1
2 releases numbered after 0.11.0 up to and including 1.0.1, stable releases only. 0.11.0 and 1.0.1 are the newest stable releases of 0 and 1 we track; this page follows them as new ones ship.
- 1 removes or deprecates something
40 changes across 2 releases
Added 15
- Add support for testing librosa on Windows ARM64
- Peak picking implemented using dynamic programming
- Variable-rate and non-iterative phase vocoding support
- vscale option added to specshow
- Colorbar helper functions added
- Two-slope norm used for inferred diverging colormaps
- Warning emitted on perceptual weighting underflow
- Warping path to step grid conversion added
- Signal mixing helper functions added
- oct3 display modes added
- Inverted waveshow display added
- Wavebars display added
- Metrogram transform added
- hybrid_tempogram function implemented
- Python 3.14 support added
Changed 15
- Keep doctrees and reST sources out of the published docs
- Make linkcheck failures non-fatal for CI
- Revise the linkcheck action
- Enable Ruff ARG unused-argument checks and resolve the findings
- Replace **kwargs with explicit STFT parameters in time_stretch and pitch_shift
- Refactor display submodules
- Update CI configuration
- Modernize the spec0 action and environment workflow
- Expose top_db on features that call power_to_db
- Speed up matching for non-overlapping target intervals
- Optimize memory use in piptrack, magphase, power_to_db, hpss, yin and pyin
- Stabilized the public API from the long-running 0.x series ahead of the 1.0 release
- RNG parameters made compliant with SPEC07
- Migrated from SciPy spmatrix to sparray
- melodyplot renamed to display.wavef0
Fixed 8
- Forward window to stft and istft in effects.hpss, harmonic and percussive
- Fix numpydoc lint glob to reach subpackages, reorder flagged sections, and fix the power_to_db axes docstring
- Preserve float32 in spectral features and add dtype= to frequency constructors
- Fix permissions on CI actions for codecov
- Fix Numba TypingError when passing tuple intervals to effects.remix
- Use a dtype-aware cutoff in util._nnls pinv initialization
- Frequency conversion now handles NaN inputs correctly
- AdaptiveWaveplot adaptor no longer garbage collected prematurely
Removed 2
- Default quantization removed from note_to_hz
- Deprecations expired for the 1.0 release
Original release notes, newest first
The list above is our reading of these notes; the originals from librosa are here, one fold per release.
1.0.1
What's Changed
- Keep doctrees and reST sources out of the published docs by @Kayvan-Zahiri in https://github.com/librosa/librosa/pull/2089
- making linkcheck failures not catastrophic for CI by @bmcfee in https://github.com/librosa/librosa/pull/2093
- Revising linkcheck action again by @bmcfee in https://github.com/librosa/librosa/pull/2098
- Forward
windowto stft and istft in effects.hpss, harmonic and percussive by @isaacsight in https://github.com/librosa/librosa/pull/2097 - Enable Ruff ARG unused-argument checks and resolve findings by @rajit-sareen in https://github.com/librosa/librosa/pull/2101
- Fix numpydoc lint glob to reach subpackages, reorder flagged sections, fix power_to_db axes docstring by @rajit-sareen in https://github.com/librosa/librosa/pull/2104
- Preserve float32 in spectral features; add dtype= to frequency constructors by @tritsystem in https://github.com/librosa/librosa/pull/2106
- Replace **kwargs with explicit STFT params in time_stretch/pitch_shift by @rajit-sareen in https://github.com/librosa/librosa/pull/2109
- Refactor/2021 display submodules by @MLsound in https://github.com/librosa/librosa/pull/2102
- Updates for CI by @bmcfee in https://github.com/librosa/librosa/pull/2113
- Add support for testing librosa on Windows ARM64 by @MugundanMCW in https://github.com/librosa/librosa/pull/2111
- Spec0 action and environment workflow modernization by @bmcfee in https://github.com/librosa/librosa/pull/2114
- fixing permissions on ci actions for codecov by @bmcfee in https://github.com/librosa/librosa/pull/2117
- Bump the github-actions group with 3 updates by @dependabot[bot] in https://github.com/librosa/librosa/pull/2116
- Expose top_db on features that call power_to_db by @isaacsight in https://github.com/librosa/librosa/pull/2095
- Fix Numba TypingError when passing tuple intervals to effects.remix by @rishi02102017 in https://github.com/librosa/librosa/pull/2119
- Speed up matching for non-overlapping target intervals by @galleonli in https://github.com/librosa/librosa/pull/2112
- memory optimizations in piptrack, magphase, power_to_db, hpss, yin and pyin by @bmcfee in https://github.com/librosa/librosa/pull/2120
- util._nnls: use dtype-aware cutoff in pinv initialization by @bmcfee in https://github.com/librosa/librosa/pull/2122
- 1.0.1 release prep by @bmcfee in https://github.com/librosa/librosa/pull/2123
New Contributors
- @isaacsight made their first contribution in https://github.com/librosa/librosa/pull/2097
- @rajit-sareen made their first contribution in https://github.com/librosa/librosa/pull/2101
- @tritsystem made their first contribution in https://github.com/librosa/librosa/pull/2106
- @MugundanMCW made their first contribution in https://github.com/librosa/librosa/pull/2111
- @dependabot[bot] made their first contribution in https://github.com/librosa/librosa/pull/2116
- @rishi02102017 made their first contribution in https://github.com/librosa/librosa/pull/2119
- @galleonli made their first contribution in https://github.com/librosa/librosa/pull/2112
Full Changelog: https://github.com/librosa/librosa/compare/1.0.0...1.0.1
1.0.0
Librosa 1.0
This release is intended to stabilize the API from the long-running 0.x series.
A full changelog is available at https://librosa.org/doc//dev/changelog.html
A blog post on the 1.0 release gives a high level overview of the changes.
What's Changed
- fix: correct typo in core/convert.py line:1658 by @afadel151 in https://github.com/librosa/librosa/pull/1932
- Test overhaul by @bmcfee in https://github.com/librosa/librosa/pull/1925
- Peak picking by dynamic programming by @bmcfee in https://github.com/librosa/librosa/pull/1927
- Trying a new environment cache setup in CI by @bmcfee in https://github.com/librosa/librosa/pull/1936
- Variable-rate and non-iterative phase vocoding by @bmcfee in https://github.com/librosa/librosa/pull/1931
- Include scipy-stubs in the test dependencies - v1.0.0 rebase by @jorenham in https://github.com/librosa/librosa/pull/1946
- vscale option to specshow by @bmcfee in https://github.com/librosa/librosa/pull/1938
- Remove default quantization for note_to_hz by @bmcfee in https://github.com/librosa/librosa/pull/1947
- Freq convert nan by @bmcfee in https://github.com/librosa/librosa/pull/1948
- Colorbar helpers by @bmcfee in https://github.com/librosa/librosa/pull/1952
- Two-slope norm for inferred diverging colormap by @bmcfee in https://github.com/librosa/librosa/pull/1954
- Warn on perceptual weighting underflow by @bmcfee in https://github.com/librosa/librosa/pull/1955
- Warping path to step grid by @bmcfee in https://github.com/librosa/librosa/pull/1958
- Fix subsegment example by @bmcfee in https://github.com/librosa/librosa/pull/1959
- SPEC07 compliant rng parameters by @bmcfee in https://github.com/librosa/librosa/pull/1960
- Upload doc build preview artifacts by @bmcfee in https://github.com/librosa/librosa/pull/1962
- Expire deprecations for 1.0 release by @bmcfee in https://github.com/librosa/librosa/pull/1963
- Signal mixing helpers by @bmcfee in https://github.com/librosa/librosa/pull/1964
- oct3 display modes by @bmcfee in https://github.com/librosa/librosa/pull/1967
- Inverted waveshow by @bmcfee in https://github.com/librosa/librosa/pull/1971
- Wavebars by @bmcfee in https://github.com/librosa/librosa/pull/1973
- Refine .gitignore for improved accuracy and coverage by @MLsound in https://github.com/librosa/librosa/pull/1969
- Fixing figures clumped up at the end of page by @haydnllh in https://github.com/librosa/librosa/pull/1979
- Fix types in beat tracking code by @emilazy in https://github.com/librosa/librosa/pull/1977
- Fix #1970: Prevent AdaptiveWaveplot adaptor from being garbage collected by @Daniel-Haas-B in https://github.com/librosa/librosa/pull/1992
- Add Metrogram Transform by @danferns in https://github.com/librosa/librosa/pull/1986
- Update type annotations by @bmcfee in https://github.com/librosa/librosa/pull/1980
- Migrate from SciPy spmatrix to sparray by @Daniel-Haas-B in https://github.com/librosa/librosa/pull/1994
- Python 3.14 support by @bmcfee in https://github.com/librosa/librosa/pull/1999
- feat: implement hybrid_tempogram (#1991) by @Gopesh111 in https://github.com/librosa/librosa/pull/2004
- Document specshow frequency axis scaling by @cookesan in https://github.com/librosa/librosa/pull/2006
- Surface contributing guide in docs site, link build instructions by @petrakuhnle in https://github.com/librosa/librosa/pull/2009
- Multiplot by @bmcfee in https://github.com/librosa/librosa/pull/2012
- Spec0 2026.06 by @bmcfee in https://github.com/librosa/librosa/pull/2018
- display.wavef0 (was: melodyplot) by @bmcfee in https://github.com/librosa/librosa/pull/1976
- Yet another Viterbi acceleration PR by @bmcfee in https://github.com/librosa/librosa/pull/2007
- Updates for mypy 2.1 by @bmcfee in https://github.com/librosa/librosa/pull/2025
- Fix tonnetz display label ordering by @bmcfee in https://github.com/librosa/librosa/pull/2026
- Modern linting by @bmcfee in https://github.com/librosa/librosa/pull/2027
- Dynamic vectorize by @bmcfee in https://github.com/librosa/librosa/pull/2028
- Even faster import by @bmcfee in https://github.com/librosa/librosa/pull/2029
- Negative offset load by @bmcfee in https://github.com/librosa/librosa/pull/2030
- Loadx by @bmcfee in https://github.com/librosa/librosa/pull/2031
- more helpful failure mode in loadx by @bmcfee in https://github.com/librosa/librosa/pull/2032
- Modernize types in
librosa._typingby @jorenham in https://github.com/librosa/librosa/pull/2035 - modernizing type annotations for the future by @bmcfee in https://github.com/librosa/librosa/pull/2036
- more type annotation modernization by @bmcfee in https://github.com/librosa/librosa/pull/2038
- Fill in missing type annotations by @jorenham in https://github.com/librosa/librosa/pull/2037
- Display Highlighter by @bmcfee in https://github.com/librosa/librosa/pull/2034
- cmap_cyclic= in specshow by @bmcfee in https://github.com/librosa/librosa/pull/2041
- avoid turning scalars into 0-d arrays in
core.{convert,spectrum}andutil.utilsby @jorenham in https://github.com/librosa/librosa/pull/2039 - Waveplot styling by @bmcfee in https://github.com/librosa/librosa/pull/2044
- improved
dtype_r2canddtype_c2rtyping inutil.utilsby @jorenham in https://github.com/librosa/librosa/pull/2043 - Doc check modernizing by @bmcfee in https://github.com/librosa/librosa/pull/2047
- Contributing and agents update by @bmcfee in https://github.com/librosa/librosa/pull/2017
- reformat
**/__init__.pyire-exports by @jorenham in https://github.com/librosa/librosa/pull/2049 - Include str dtype in
ndarrayreturn type annotations by @jorenham in https://github.com/librosa/librosa/pull/2050 - Multichannel db by @bmcfee in https://github.com/librosa/librosa/pull/2051
- Fix decorator callable types in
librosa.util.decoratorsby @jorenham in https://github.com/librosa/librosa/pull/2053 - Improve
ndarrayreturn types by @jorenham in https://github.com/librosa/librosa/pull/2052 - Support matplotlib 3.11 in tests by @bmcfee in https://github.com/librosa/librosa/pull/2054
- Stream resampling by @bmcfee in https://github.com/librosa/librosa/pull/2055
- massive simplification of legend_for_axes, fixes #2057 by @bmcfee in https://github.com/librosa/librosa/pull/2059
- Refactor frequency formatters by @bmcfee in https://github.com/librosa/librosa/pull/2060
- Updating actions by @bmcfee in https://github.com/librosa/librosa/pull/2065
- Standardize n_fft parameter docstrings by @brookcs3 in https://github.com/librosa/librosa/pull/2068
- Precise dtype type annotations in
librosa.beatby @jorenham in https://github.com/librosa/librosa/pull/2069 - Infer n_bins automatically in cqt/vqt by @bmcfee in https://github.com/librosa/librosa/pull/2066
- Add out= parameter to to_mono for in-place downmixing by @ejwong24 in https://github.com/librosa/librosa/pull/2058
- Fix RQA single-axis inputs by @suhashollakc in https://github.com/librosa/librosa/pull/2063
- BoundedNorm for specshow on boolean data by @bmcfee in https://github.com/librosa/librosa/pull/2072
- Skip redundant np.abs copy in piptrack for non-negative real input by @imrulhuda in https://github.com/librosa/librosa/pull/2080
- Tutorial restructure and general documentation overhaul by @bmcfee in https://github.com/librosa/librosa/pull/1968
- 1.0.0rc0 release by @bmcfee in https://github.com/librosa/librosa/pull/2082
- revising nnls initialization by @bmcfee in https://github.com/librosa/librosa/pull/2085
- Validate audio input in feature.rms (closes #2086) by @Kayvan-Zahiri in https://github.com/librosa/librosa/pull/2087
- 1.0 final by @bmcfee in https://github.com/librosa/librosa/pull/2084
New Contributors
- @afadel151 made their first contribution in https://github.com/librosa/librosa/pull/1932
- @jorenham made their first contribution in https://github.com/librosa/librosa/pull/1946
- @MLsound made their first contribution in https://github.com/librosa/librosa/pull/1969
- @haydnllh made their first contribution in https://github.com/librosa/librosa/pull/1979
- @emilazy made their first contribution in https://github.com/librosa/librosa/pull/1977
- @Daniel-Haas-B made their first contribution in https://github.com/librosa/librosa/pull/1992
- @danferns made their first contribution in https://github.com/librosa/librosa/pull/1986
- @Gopesh111 made their first contribution in https://github.com/librosa/librosa/pull/2004
- @cookesan made their first contribution in https://github.com/librosa/librosa/pull/2006
- @petrakuhnle made their first contribution in https://github.com/librosa/librosa/pull/2009
- @brookcs3 made their first contribution in https://github.com/librosa/librosa/pull/2068
- @ejwong24 made their first contribution in https://github.com/librosa/librosa/pull/2058
- @suhashollakc made their first contribution in https://github.com/librosa/librosa/pull/2063
- @imrulhuda made their first contribution in https://github.com/librosa/librosa/pull/2080
- @Kayvan-Zahiri made their first contribution in https://github.com/librosa/librosa/pull/2087
Full Changelog: https://github.com/librosa/librosa/compare/0.11.0...1.0.0