urban-sound-classification icon indicating copy to clipboard operation
urban-sound-classification copied to clipboard

Update librosa to 0.8.0

Open pyup-bot opened this issue 4 years ago • 0 comments

This PR updates librosa from 0.6.3 to 0.8.0.

Changelog

0.8

====

0.8.0

------
2020-07-22

New Features
 - `1203`_ Support for Carnatic and Hindustani notations. *Brian McFee, Kaushik Sripathi Hatti, Kaustuv Kanti Ganguli*
     - `librosa.hz_to_svara_c`, `librosa.hz_to_svara_h`
     - `librosa.midi_to_svara_c`, `librosa.midi_to_svara_h`
     - `librosa.note_to_svara_c`, `librosa.note_to_svara_h`
     - `librosa.list_mela`, `librosa.list_thaat`
     - and `librosa.display.specshow` support.
 - `1064`_ `librosa.yin` and `librosa.pyin` for fundamental frequency
   estimation. *Benjamin van Niekirk*
 - `1018`_ Variable-Q transform `librosa.vqt`. *Brian McFee, Frank Cwitkowitz*
 - `1059`_ `libsamplerate` support in `librosa.resample`. *Brian McFee*
 - `1134`_ perceptual loudness weighting for B, C, D, and Z-weighting. *Bea Steers*
 - `1149`_ key support and note-spelling in pitch<=>note conversion. *Brian
   McFee*
 - `1150`_ new data loader, and expanded collection of example recordings.
   *Brian McFee*
 - `1166`_ `librosa.sequence.dtw` can now return the step matrix. *Frank Zaklow*
 - `1171`_ automatic precision inference for spectral transforms (stft, cqt) and
   explicit control for `librosa.cqt`. *Brian McFee*
 - `1198`_ `librosa.util.localmin` for computing local minima. *Brian McFee*

Removed features and API changes
 - `1062`_ 
     - Removed support for python < 3.6.
     - Removed the deprecated `output` module.
     - Removed deprecated `ifgram` function.
     - Removed deprecated `amin` parameter from `icqt`
     - Removed deprecated `A440` parameter from `hz_to_octs`, `octs_to_hz`, and
       `chroma` features
     - Removed deprecated `tuning=` parameter in CQT filter constructors
     - Removed deprecated `util.roll_sparse` function
 - `1050`_ implemented changes to Mel filter normalization
 - `1165`_ removed deprecated `optional_jit` decorator

0.7.2

------
2020-01-13

New Features
- `1008`_ added liftering support to MFCC inversion. *Ayoub Malek*
- `1021`_ added `pathlib` support to `librosa.load`. *Stef van der Struijk*
- `1022`_ added "mu-law" compression and expansion (companding). *Brian McFee*

Bug fixes
- `1031`_ fixed errors in dynamic time warping with `NaN` inputs and detection
  of invalid warping paths. *Frank Zalkow, Brian McFee*
- `1041`_ fixed frame-length normalization in spectrogram-based RMS energy
  calculation. *Shunsuke Hidaka*
- `1054`_ fixed the length of signals produced by `librosa.tone`. *Brian McFee*


Documentation
- `1038`_ removed math formatting from documentation. *Vincent Lostanlen*
- `1042`_ corrected documentation for DTW. *Eric Semeniuc*
- `1043`_ corrected typos in time-frequency reassignment spectrogram
  documentation. *Scott Seyfarth*
- `1055`_ removed `dct_type=None` as an option in MFCC documentation. *Brian McFee*


Other changes
- `1050`_ expanded normalization modes in Mel basis construction. *Brian McFee*

.. _1008: https://github.com/librosa/librosa/issues/1008
.. _1021: https://github.com/librosa/librosa/issues/1021
.. _1022: https://github.com/librosa/librosa/issues/1022
.. _1031: https://github.com/librosa/librosa/issues/1031
.. _1041: https://github.com/librosa/librosa/issues/1041
.. _1054: https://github.com/librosa/librosa/issues/1054
.. _1038: https://github.com/librosa/librosa/issues/1038
.. _1042: https://github.com/librosa/librosa/issues/1042
.. _1043: https://github.com/librosa/librosa/issues/1043
.. _1055: https://github.com/librosa/librosa/issues/1055
.. _1050: https://github.com/librosa/librosa/issues/1050

0.7.1

------
2019-10-09


New Features
- `966`_ `librosa.util.frame` now supports multidimensional data. Includes a new helper function `librosa.util.stack` for contiguous concatenation. *Brian McFee*
- `934`_ `librosa.griffinlim_cqt`: Phase retrieval from constant-Q magnitude spectra. *Brian McFee*
- `940`_ Enhanced compatibility with HTK's MFCC implementation: `librosa.effects.preemphasis` and `lifter=` parameter in MFCC.  *Brian McFee*
- `949`_ `librosa.util.shear` utility for shear-transforming 2D arrays. *Brian McFee*
- `926`_ `librosa.reassigned_spectrogram`: time-frequency reassigned spectrogram.  *Scott Seyfarth*


Bug fixes
- `983`_ Added a missing parameter to `librosa.griffinlim_cqt`. *Voodoohop*
- `978`_ Correct FFT normalization discrepancy in rms calculation. *Brian McFee*
- `930`_ Corrected an error in automatic tuning correction for CQT. *Brian McFee*
- `942`_ Fixed seeking behavior in `librosa.stream` when operating on file-handle inputs. *Carl Thome*
- `920`_ Fixed a boundary condition check in full-sequence DTW. *Frank Zalkow*


Documentation
- `976`_ Fixed a typo in `librosa.stream` documentation. *Alastair Porter*
- `958`_ Visualization of reassigned spectrograms. *Vincent Lostanlen*
- `943`_ Improved documentation for `librosa.stft`. *Vincent Lostanlen*
- `939`_ Expanded documentation of `librosa.feature.melspectrogram`. *Vincent Lostanlen*


Other changes
- `1004`_ Expose frame parameters in `librosa.onset` and `librosa.feature.chroma_stft` functions. *Brian McFee*
- `1003`_ Removed warning filter reset, and changed the Python2 deprecation
  warning to class `FutureWarning`. *Brian McFee, Fabian Keller*
- `1000`_ Fixed an upstream deprecation warning from `np.asscalar()`. *Vincent Lostanlen*
- `971`_ Beat and tempo estimation now support prior distributions. *Brian McFee*
- `968`_ `librosa.util.valid_audio` now enforces memory contiguity. *Vincent Lostanlen*
- `963`_ Improved x-axis decoration types in `librosa.display.waveplot`. *Vincent Lostanlen*
- `960`_ Ensure memory contiguity of audio buffers after resampling. *Brian McFee*
- `957`_ Code-base audit for proper usage of `librosa.times_like`. *Brian McFee*
- `953`_ Deprecated `librosa.ifgram` in favor of `librosa.reassigned_spectrogram`. *Brian McFee*
- `950`_ Allow initial phase estimates for `librosa.griffinlim` methods. *Brian McFee*
- `949`_ Accelerated `librosa.segment.lag_to_recurrence` and `librosa.segment.recurrence_to_lag`. Deprecated `librosa.util.roll_sparse`. *Brian McFee*
- `930`_ `A440=` parameter has been deprecated across the library in favor of a standardized `tuning=` parameter.  *Brian McFee*

.. _966: https://github.com/librosa/librosa/issues/966
.. _934: https://github.com/librosa/librosa/issues/934
.. _940: https://github.com/librosa/librosa/issues/940
.. _949: https://github.com/librosa/librosa/issues/949
.. _926: https://github.com/librosa/librosa/issues/926
.. _983: https://github.com/librosa/librosa/issues/983
.. _978: https://github.com/librosa/librosa/issues/978
.. _930: https://github.com/librosa/librosa/issues/930
.. _942: https://github.com/librosa/librosa/issues/942
.. _920: https://github.com/librosa/librosa/issues/920
.. _976: https://github.com/librosa/librosa/issues/976
.. _958: https://github.com/librosa/librosa/issues/958
.. _943: https://github.com/librosa/librosa/issues/943
.. _939: https://github.com/librosa/librosa/issues/939
.. _1004: https://github.com/librosa/librosa/issues/1004
.. _1003: https://github.com/librosa/librosa/issues/1003
.. _1000: https://github.com/librosa/librosa/issues/1000
.. _971: https://github.com/librosa/librosa/issues/971
.. _968: https://github.com/librosa/librosa/issues/968
.. _963: https://github.com/librosa/librosa/issues/963
.. _960: https://github.com/librosa/librosa/issues/960
.. _957: https://github.com/librosa/librosa/issues/957
.. _953: https://github.com/librosa/librosa/issues/953
.. _950: https://github.com/librosa/librosa/issues/950

0.7

====

0.7.0

------
2019-07-07

Note: the 0.7 series will be the last to officially support Python 2.7.


New features
- `772`_ `librosa.stream`: Stream generator to process long audio files into smaller pieces. *Brian McFee*
- `845`_ `librosa.load`: Replaced the default audio decoder with `pysoundfile`, and only use `audioread` as backup. *Brian McFee*
- `843`_ `librosa.griffinlim`: Phase retrieval from magnitude spectrograms using the (accelerated) Griffin-Lim method. *Brian McFee*
- `843`_ `librosa.feature.inverse`: New module for feature inversion, based on the Griffin-Lim phase retrieval algorithm. Includes `mel_to_audio` and `mfcc_to_audio`. *Brian McFee*
- `725`_ `librosa.lpc`: Linear prediction coefficients (LPC). *Adam Weiss*
- `907`_ `librosa.sequence.rqa`: Recurrence Quantification Analysis (RQA) for sequence alignment. *Brian McFee*
- `739`_ `librosa.beat.plp`: Predominant local pulse (PLP) for variable-tempo beat tracking. *Brian McFee*
- `894`_ `librosa.feature.fourier_tempogram`: Fourier Tempogram for representing rhythm in the frequency domain. *Brian McFee*
- `891`_ `librosa.pcen` Per-channel energy normalization (PCEN) now allows logarithmic range compression at the limit power->0. *Vincent Lostanlen*
- `863`_ `librosa.effects.pitch_shift` supports custom resampling modes. *Taewoon Kim*
- `857`_ `librosa.cqt` and `librosa.icqt` Forward and inverse constant-Q transform now support custom resampling modes. *Brian McFee*
- `842`_ `librosa.segment.path_enhance`: Near-diagonal path enhancement for recurrence, self- or cross-similarity matrices. *Brian McFee*
- `840`_ `librosa.segment.recurrence_matrix` now supports a keyword argument, `self=False`. If set to `True`, the recurrence matrix includes self-loops. *Brian McFee*
- `776`_ `librosa.piptrack` now supports a keyword argument, `ref=None`, allowing users to override the reference thresholding behavior for determining which bins correspond to pitches. *Brian McFee*
- `770`_ `librosa.segment.cross_similarity`: Cross-similarity function for comparing two feature sequences. *Rachel Bittner, Brian McFee*
- `709`_ `librosa.onset.onset_strength_multi` now supports a user-specified reference spectrum via the `ref` keyword argument. *Brian McFee*
- `576`_ `librosa.resample` now supports `mode='polyphase'`. *Brian McFee*
- `519`_ `librosa.onset.onset_strength_multi`: Setting `aggregate=False` disables the aggregation of onset strengths across frequency bins. *Brian McFee*


Bug fixes
- `900`_ `librosa.effects.pitch_shift` now preserves length. *Vincent Lostanlen*
- `891`_ `librosa.pcen` Dynamic range compression in PCEN is more numerically stable for small values of the exponent. *Vincent Lostanlen*
- `888`_ `librosa.ifgram` Instantaneous frequency spectrogram now correctly estimates center frequencies when using windows other than `hann`. *Brian McFee*
- `869`_ `librosa.sequence.dtw` Fixed a bug in dynamic time warping when `subseq=True`. *Viktor Andreevitch Morozov*
- `851`_ `librosa.pcen` now initializes its autoregressive filtering in the steady state, not with silence. *Jan Schlüter, Brian McFee*
- `833`_ `librosa.segment.recurrence_matrix`: `width` parameter now cannot exceed data length. *Brian McFee*
- `825`_ Filter bank constructors `mel`, `chroma`, `constant_q`, and `cq_to_chroma` are now type-stable. *Vincent Lostanlen, Brian McFee*
- `802`_ `librosa.icqt` Inverse constant-Q transform has been completely rewritten and is more numerically stable. *Brian McFee*
Links
  • PyPI: https://pypi.org/project/librosa
  • Changelog: https://pyup.io/changelogs/librosa/
  • Repo: https://github.com/librosa/librosa/releases
  • Homepage: https://librosa.org
  • Docs: https://pythonhosted.org/librosa/

pyup-bot avatar Jul 22 '20 01:07 pyup-bot