Accepting request 718644 from home:TheBlackCat:branches:devel:languages:python:numeric

- Update to version 0.7.0
  + New features
    * `librosa.core.stream`: Stream generator to process long audio files into smaller pieces. *Brian McFee*
    * `librosa.core.load`: Replaced the default audio decoder with `pysoundfile`, and only use `audioread` as backup. *Brian McFee*
    * `librosa.core.griffinlim`: Phase retrieval from magnitude spectrograms using the (accelerated) Griffin-Lim method. *Brian McFee*
    * `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*
    * `librosa.core.lpc`: Linear prediction coefficients (LPC). *Adam Weiss*
    * `librosa.sequence.rqa`: Recurrence Quantification Analysis (RQA) for sequence alignment. *Brian McFee*
    * `librosa.beat.plp`: Predominant local pulse (PLP) for variable-tempo beat tracking. *Brian McFee*
    * `librosa.feature.fourier_tempogram`: Fourier Tempogram for representing rhythm in the frequency domain. *Brian McFee*
    * `librosa.core.pcen` Per-channel energy normalization (PCEN) now allows logarithmic range compression at the limit power->0. *Vincent Lostanlen*
    * `librosa.effects.pitch_shift` supports custom resampling modes. *Taewoon Kim*
    * `librosa.core.cqt` and `librosa.core.icqt` Forward and inverse constant-Q transform now support custom resampling modes. *Brian McFee*
    * `librosa.segment.path_enhance`: Near-diagonal path enhancement for recurrence, self- or cross-similarity matrices. *Brian McFee*
    * `librosa.segment.recurrence_matrix` now supports a keyword argument, `self=False`. If set to `True`, the recurrence matrix includes self-loops. *Brian McFee*
    * `librosa.core.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*
    * `librosa.segment.cross_similarity`: Cross-similarity function for comparing two feature sequences. *Rachel Bittner, Brian McFee*
    * `librosa.onset.onset_strength_multi` now supports a user-specified reference spectrum via the `ref` keyword argument. *Brian McFee*
    * `librosa.core.resample` now supports `mode='polyphase'`. *Brian McFee*
    * `librosa.onset.onset_strength_multi`: Setting `aggregate=False` disables the aggregation of onset strengths across frequency bins. *Brian McFee*
  + Bug fixes
    * `librosa.effects.pitch_shift` now preserves length. *Vincent Lostanlen*
    * `librosa.core.pcen` Dynamic range compression in PCEN is more numerically stable for small values of the exponent. *Vincent Lostanlen*
    * `librosa.core.ifgram` Instantaneous frequency spectrogram now correctly estimates center frequencies when using windows other than `hann`. *Brian McFee*
    * `librosa.sequence.dtw` Fixed a bug in dynamic time warping when `subseq=True`. *Viktor Andreevitch Morozov*
    * `librosa.core.pcen` now initializes its autoregressive filtering in the steady state, not with silence. *Jan Schlüter, Brian McFee*
    * `librosa.segment.recurrence_matrix`: `width` parameter now cannot exceed data length. *Brian McFee*
    * Filter bank constructors `mel`, `chroma`, `constant_q`, and `cq_to_chroma` are now type-stable. *Vincent Lostanlen, Brian McFee*
    * `librosa.core.icqt` Inverse constant-Q transform has been completely rewritten and is more numerically stable. *Brian McFee*
  + Removed features (deprecated in v0.6)
    * Discrete cosine transform. We recommend using `scipy.fftpack.dct`
    * The `delta` function no longer support the `trim` keyword argument. 
    * Root mean square error (`rmse`) has been renamed to `rms`.
    * `iirt` now uses `sos` mode by default.
  + Documentation
    * Improved the documentation of PCEN. *Vincent Lostanlen*
    * Improved installation documentation. *Darío Hereñú*
    * Improved code style for plot generation. *Alex Metsai*
    * Improved the documentation of spectral features. *Brian McFee*
    * Improved the documentation of MFCC. *Brian McFee*
    * Removed a redundant link in the `util` documentation. *Keunwoo Choi*
    * Improved the docstring of `recurrence_matrix`. *Brian McFee*
    * Improved the docstring of `load`. *Andy Sarroff*
  + Other changes
    * The `output` module is now deprecated, and will be removed in version 0.8.
    * More informative exception handling. *Jack Mason*
    * `librosa.core.resample()` now supports `mode='fft'`, equivalent to the previous `scipy` mode. *Brian McFee*
    * More efficient length-aware ISTFT and ICQT. *Vincent Lostanlen*
    * Nine librosa functions now store jit-compiled, numba-accelerated caches across sessions. *Brian McFee*
    * `librosa.core.load` no longer relies on `realpath()`. *Brian McFee*
    * All spectral feature extractors now expose all STFT parameters. *Brian McFee*
    * Refactored `librosa.cache`. *Brian McFee*
    * Thanks to `np.fft.rfft`, functions `stft`, `istft`, `ifgram`, and `fmt` are faster and have a reduced memory footprint. *Brian McFee*

OBS-URL: https://build.opensuse.org/request/show/718644
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-librosa?expand=0&rev=7
This commit is contained in:
Todd R 2019-07-25 20:35:34 +00:00 committed by Git OBS Bridge
parent 21e8ac0793
commit 59a6825488
5 changed files with 77 additions and 27 deletions

View File

@ -1,15 +0,0 @@
## ISC License
Copyright (c) 2013--2017, librosa development team.
Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby granted, provided that the above
copyright notice and this permission notice appear in all copies.
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:b332225ac29bfae1ba386deca2b6566271576de3ab17617ad0a71892c799b118
size 1558956

3
librosa-0.7.0.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:d2f6da0be9742d387f68512e03306e5a0093e766d43fa0f2139b6eb692477995
size 31237387

View File

@ -1,3 +1,61 @@
-------------------------------------------------------------------
Thu Jul 25 20:34:49 UTC 2019 - Todd R <toddrme2178@gmail.com>
- Update to version 0.7.0
+ New features
* `librosa.core.stream`: Stream generator to process long audio files into smaller pieces. *Brian McFee*
* `librosa.core.load`: Replaced the default audio decoder with `pysoundfile`, and only use `audioread` as backup. *Brian McFee*
* `librosa.core.griffinlim`: Phase retrieval from magnitude spectrograms using the (accelerated) Griffin-Lim method. *Brian McFee*
* `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*
* `librosa.core.lpc`: Linear prediction coefficients (LPC). *Adam Weiss*
* `librosa.sequence.rqa`: Recurrence Quantification Analysis (RQA) for sequence alignment. *Brian McFee*
* `librosa.beat.plp`: Predominant local pulse (PLP) for variable-tempo beat tracking. *Brian McFee*
* `librosa.feature.fourier_tempogram`: Fourier Tempogram for representing rhythm in the frequency domain. *Brian McFee*
* `librosa.core.pcen` Per-channel energy normalization (PCEN) now allows logarithmic range compression at the limit power->0. *Vincent Lostanlen*
* `librosa.effects.pitch_shift` supports custom resampling modes. *Taewoon Kim*
* `librosa.core.cqt` and `librosa.core.icqt` Forward and inverse constant-Q transform now support custom resampling modes. *Brian McFee*
* `librosa.segment.path_enhance`: Near-diagonal path enhancement for recurrence, self- or cross-similarity matrices. *Brian McFee*
* `librosa.segment.recurrence_matrix` now supports a keyword argument, `self=False`. If set to `True`, the recurrence matrix includes self-loops. *Brian McFee*
* `librosa.core.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*
* `librosa.segment.cross_similarity`: Cross-similarity function for comparing two feature sequences. *Rachel Bittner, Brian McFee*
* `librosa.onset.onset_strength_multi` now supports a user-specified reference spectrum via the `ref` keyword argument. *Brian McFee*
* `librosa.core.resample` now supports `mode='polyphase'`. *Brian McFee*
* `librosa.onset.onset_strength_multi`: Setting `aggregate=False` disables the aggregation of onset strengths across frequency bins. *Brian McFee*
+ Bug fixes
* `librosa.effects.pitch_shift` now preserves length. *Vincent Lostanlen*
* `librosa.core.pcen` Dynamic range compression in PCEN is more numerically stable for small values of the exponent. *Vincent Lostanlen*
* `librosa.core.ifgram` Instantaneous frequency spectrogram now correctly estimates center frequencies when using windows other than `hann`. *Brian McFee*
* `librosa.sequence.dtw` Fixed a bug in dynamic time warping when `subseq=True`. *Viktor Andreevitch Morozov*
* `librosa.core.pcen` now initializes its autoregressive filtering in the steady state, not with silence. *Jan Schlüter, Brian McFee*
* `librosa.segment.recurrence_matrix`: `width` parameter now cannot exceed data length. *Brian McFee*
* Filter bank constructors `mel`, `chroma`, `constant_q`, and `cq_to_chroma` are now type-stable. *Vincent Lostanlen, Brian McFee*
* `librosa.core.icqt` Inverse constant-Q transform has been completely rewritten and is more numerically stable. *Brian McFee*
+ Removed features (deprecated in v0.6)
* Discrete cosine transform. We recommend using `scipy.fftpack.dct`
* The `delta` function no longer support the `trim` keyword argument.
* Root mean square error (`rmse`) has been renamed to `rms`.
* `iirt` now uses `sos` mode by default.
+ Documentation
* Improved the documentation of PCEN. *Vincent Lostanlen*
* Improved installation documentation. *Darío Hereñú*
* Improved code style for plot generation. *Alex Metsai*
* Improved the documentation of spectral features. *Brian McFee*
* Improved the documentation of MFCC. *Brian McFee*
* Removed a redundant link in the `util` documentation. *Keunwoo Choi*
* Improved the docstring of `recurrence_matrix`. *Brian McFee*
* Improved the docstring of `load`. *Andy Sarroff*
+ Other changes
* The `output` module is now deprecated, and will be removed in version 0.8.
* More informative exception handling. *Jack Mason*
* `librosa.core.resample()` now supports `mode='fft'`, equivalent to the previous `scipy` mode. *Brian McFee*
* More efficient length-aware ISTFT and ICQT. *Vincent Lostanlen*
* Nine librosa functions now store jit-compiled, numba-accelerated caches across sessions. *Brian McFee*
* `librosa.core.load` no longer relies on `realpath()`. *Brian McFee*
* All spectral feature extractors now expose all STFT parameters. *Brian McFee*
* Refactored `librosa.cache`. *Brian McFee*
* Thanks to `np.fft.rfft`, functions `stft`, `istft`, `ifgram`, and `fmt` are faster and have a reduced memory footprint. *Brian McFee*
-------------------------------------------------------------------
Wed Feb 20 19:30:09 CET 2019 - Matej Cepl <mcepl@suse.com>

View File

@ -18,36 +18,40 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-librosa
Version: 0.6.3
Version: 0.7.0
Release: 0
Summary: Python module for audio and music processing
License: ISC
Group: Development/Languages/Python
URL: http://github.com/librosa/librosa
Source0: https://files.pythonhosted.org/packages/source/l/librosa/librosa-%{version}.tar.gz
Source10: https://raw.githubusercontent.com/librosa/librosa/%{version}/LICENSE.md
Source0: https://github.com/librosa/librosa/archive/%{version}.tar.gz#//librosa-%{version}.tar.gz
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-SoundFile >= 0.9.0
Requires: python-audioread >= 2.0.0
Requires: python-decorator >= 3.0.0
Requires: python-joblib >= 0.12
Requires: python-numba >= 0.38.0
Requires: python-numpy >= 1.8.0
Requires: python-numpy >= 1.15.0
Requires: python-resampy >= 0.2.0
Requires: python-scikit-learn >= 0.14.0
Requires: python-scipy >= 0.14.0
Requires: python-scipy >= 1.0.0
Requires: python-six >= 1.3
BuildArch: noarch
# SECTION test requirements
BuildRequires: %{python_module SoundFile >= 0.9.0}
BuildRequires: %{python_module audioread >= 2.0.0}
BuildRequires: %{python_module decorator >= 3.0.0}
BuildRequires: %{python_module joblib >= 0.12}
BuildRequires: %{python_module numba >= 0.38.0}
BuildRequires: %{python_module numpy >= 1.8.0}
BuildRequires: %{python_module numpy >= 1.15.0}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module pytest-cov}
BuildRequires: %{python_module pytest-mpl}
BuildRequires: %{python_module resampy >= 0.2.0}
BuildRequires: %{python_module scikit-learn >= 0.14.0}
BuildRequires: %{python_module scipy >= 0.14.0}
BuildRequires: %{python_module scipy >= 1.0.0}
BuildRequires: %{python_module six >= 1.3}
# /SECTION
%python_subpackages
@ -59,7 +63,6 @@ systems.
%prep
%setup -q -n librosa-%{version}
cp %{SOURCE10} .
# Remove unneeded shebangs
find librosa -name "*.py" -exec sed -i -e '/^#!\//, 1d' {} \;
@ -70,8 +73,12 @@ find librosa -name "*.py" -exec sed -i -e '/^#!\//, 1d' {} \;
%python_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
# Tests files are missing, even from github sources
# %%check
# %%pytest
%files %{python_files}
%doc README.md
%doc AUTHORS.md README.md
%license LICENSE.md
%{python_sitelib}/*