python-librosa/python-librosa.spec

106 lines
3.8 KiB
RPMSpec
Raw Normal View History

#
# spec file for package python-librosa
#
# Copyright (c) 2021 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define skip_python2 1
# SciPy 1.6.0 dropped support for Python 3.6, many packages from the NumPy family follow. (NEP 29)
%define skip_python36 1
Name: python-librosa
Version: 0.8.0
Release: 0
Summary: Python module for audio and music processing
License: ISC AND CC-BY-3.0
URL: https://github.com/librosa/librosa
# The github archive has the tests
Source0: https://github.com/librosa/librosa/archive/%{version}.tar.gz#/librosa-%{version}.tar.gz
Source1: librosa-create-pooch-cache.py
# Test data. Use create librosa-create-pooch-cache.py to create this file
Source2: librosa-pooch-cache.tar.gz
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.43.0}
BuildRequires: %{python_module numpy >= 1.15.0}
BuildRequires: %{python_module pooch >= 1.0}
BuildRequires: %{python_module resampy >= 0.2.0}
BuildRequires: %{python_module scikit-learn >= 0.14.0}
BuildRequires: %{python_module scipy >= 1.0.0}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
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
2019-07-25 22:35:34 +02:00
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.43.0
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
2019-07-25 22:35:34 +02:00
Requires: python-numpy >= 1.15.0
Requires: python-pooch >= 1.0
Requires: python-resampy >= 0.2.0
Requires: python-scikit-learn >= 0.14.0
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
2019-07-25 22:35:34 +02:00
Requires: python-scipy >= 1.0.0
BuildArch: noarch
# SECTION test requirements
BuildRequires: %{python_module contextlib2}
BuildRequires: %{python_module matplotlib >= 2.0}
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
2019-07-25 22:35:34 +02:00
BuildRequires: %{python_module pytest-mpl}
# xdist not specified upstream but it uses resources more efficiently
BuildRequires: %{python_module pytest-xdist}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module samplerate}
BuildRequires: ffmpeg
# /SECTION
%python_subpackages
%description
LibROSA is a python package for music and audio analysis. It provides
the building blocks necessary to create music information retrieval
systems.
%prep
%setup -q -n librosa-%{version} -a 2
# Remove unneeded shebangs
find librosa -name "*.py" -exec sed -i -e '/^#!\//, 1d' {} \;
# don't measure test coverage
sed -i '/tool:pytest/,/addopts/ s/--cov-report.*--cov librosa//' setup.cfg
%build
%python_build
%install
%python_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
export LIBROSA_DATA_DIR=$PWD/librosa-pooch-cache
# test data files not packaged
donttest+=" or (test_core and test_iirt)"
donttest+=" or (test_features and test_cens)"
donttest+=" or (test_filters and test_semitone_filterbank)"
# image files do not match without exact mpl version
donttest+=" or test_display"
%pytest -n auto -k "not (${donttest:4})"
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
2019-07-25 22:35:34 +02:00
%files %{python_files}
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
2019-07-25 22:35:34 +02:00
%doc AUTHORS.md README.md
%license LICENSE.md
%{python_sitelib}/librosa
%{python_sitelib}/librosa-%{version}*-info
%changelog