Commit Graph

17 Commits

Author SHA256 Message Date
Steve Kowalik
4170ed9661 Accepting request 1113291 from home:bnavigator:branches:devel:languages:python:numeric
- Remove pooch upper pin, upstream removed it already for last
  version (gh#librosa/librosa#1727)

OBS-URL: https://build.opensuse.org/request/show/1113291
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-librosa?expand=0&rev=35
2023-09-25 01:22:49 +00:00
521a3cf778 Accepting request 1105311 from home:bnavigator:branches:devel:languages:python:numeric
- Update to 0.10.1
  * VQT octave boundaries by @bmcfee in #1677
  * redoing 0.10.0.post1 release by @bmcfee in #1684
  * Pin pooch < 1.7 by @bmcfee in #1686
  * Post-release 2 for 0.10.0, pin pooch by @bmcfee in #1687
  * Stricter checks on yin/pyin parameters by @bmcfee in #1693
  * bumping sphinx config, fixes #1671 by @bmcfee in #1699
  * fixed bins_per_octave's docs type float to int by @kyaryunha in
    #1703
  * add volume adjustment(rms-mean) at pitch_shift by @kyaryunha in
    #1704
  * Several small documentation updates by @bmcfee in #1713
  * pin numpy version to < 1.24 in doc environment by @bmcfee in
    #1714
  * fixed broken 'latest' link generator by @bmcfee in #1716
  * README.md typo fix by @Zenitismus in #1706
  * CI for documentation builds by @bmcfee in #1718
  * reworked lazy loading of matplotlib by @bmcfee in #1722
  * Advanced example for patch generation by @bmcfee in #1719
  * support pooch >= 1.7 by @bmcfee in #1727
  * Consistent conversion of time duration/offset to sample counts
    by @bmcfee in #1726
  * Update tests for scipy 1.11 by @bmcfee in #1731
- Update to 0.10.0.post2
  * This maintenance release updates the dependency specifications
    to avoid an incompatibility with pooch >= 1.7.0. This
    restriction only affects loading of specific example files, and
    does not otherwise affect functionality of the library.
- Releae 0.10.0
  * This release provides many speedups and enhancements to core
    operations, faster importing and loading, and full type
    annotations.
  ## New features
  * #1485 Added support for “h” (hours) and “m” (minutes) in
    librosa.display.TimeFormatter. Vincent Lostanlen
  * #1495 Expanded options for bandwidth calculation in
    librosa.segment.recurrence_matrix and
    librosa.segment.cross_similarity. Tom Xi
  * #1529 Accelerated utility functions for squared magnitude
    librosa.util.abs2 and librosa.util.phasor. Brian McFee
  * #1514 librosa.stft support for pre-allocated output arrays.
    Brian McFee
  * #1533 Accelerated librosa.util.localmax and
    librosa.util.localmin. Brian McFee
  * #1552 EXPERIMENTAL Support for just-intonation based variable-Q
    transforms librosa.vqt and functional just system (FJS)
    notation. Brian McFee, Vincent Lostanlen
  * #1579 Imports are now done lazily, significantly reducing
    startup time. It is not longer necessary to explicitly import
    librosa.display. Brian McFee
  * #1587, #1632, #1637 Type annotations. Matan Gover, Brian McFee,
    Fabian Keller
  * #1647 Harmonic spectrum interpolation librosa.f0_harmonics and
    tempogram ratio features librosa.feature.tempogram_ratio. Brian
    McFee
  ## Bug fixes
  * #1560 Corrected an error in bandwidth estimation for window
    functions that take on negative sample values. Brian McFee
  * #1571 Fixed rounding error in multirate filterbank calculation
    of sampling rates. Brian McFee
  * #1594 Fixed incorrect use of deprecated numpy numerical types.
    Mattia Di Gangi
  * #1596 Fixed harmonic interpolation for recent scipy releases.
    Brian McFee
  ## API changes
  * #1561 librosa.resample now supports axis= for all sample rate
    conversion backends. Brian McFee
  * #1572 Notation conversion (e.g., librosa.midi_to_note) now
    vectorizes operations, and produces numpy.ndarray outputs
    rather than list when given iterable inputs. Brian McFee
  * #1625 Deprecations now raise FutureWarning instead of
    DeprecationWarning.
  * #1625 librosa.get_duration parameter filename has been renamed
    to path. Brian McFee
  * #1643 Removed support for threshold=None in
    librosa.zero_crossings. Brian McFee
  * #1665 Fixed overflow bug in librosa.feature.rms on integer
    inputs. Brian McFee
  ## Deprecations
  * #1521 Removed backward compatibility support for positional
    arguments that are now keyword-only. Brian McFee
  * #1577 Removed official support for python 3.6. Brian McFee
  * #1625 The audioread backend is now deprecated and will be
    removed in a future release. Brian McFee
  ## Other changes
  * #1501 Infer square / equal plot dimensions for compatible x/y
    axes in librosa.display.specshow. Kian Eliasi
  * #1535 Standardized integer type checks throughout the library.
    Alexandre Chabot-Leclerc
  * #1539 Refactored librosa.display.AdaptiveWaveplot to allow
    callback disconnection. Brian McFee
  * #1548 Removed deprecated ‘hanning’ window specification from
    tests. Brian McFee
  * #1551 Removed dependency on contextlib2. Steve Kowalik
  * #1565 Efficiency improvements to librosa.autocorrelate. Brian
    McFee
  * #1566 Changed the default sample rate conversion method from
    kaiser_best (resampy) to soxr_hq (soxr). Brian McFee
  * #1581 Updated tests for numpy 1.23 compatibility. Brian McFee
  * #1617 Accelerated librosa.yin implementation. Brian McFee
  * #1640 Updated display module dependencies to require matplotlib
    >= 3.3. Brian McFee
  * #1643 Accelerated librosa.zero_crossings implementation. Brian
    McFee
  * #1646 Added support for transposed (vertical) display of
    waveforms. Brian McFee
- Drop patches
  * remove-contextlib2.patch
  * skip-test-data-missing-tests.patch
  * update-tests-for-numpy-123.patch
  * remove-hanning-from-tests.patch
  * update-for-numpy-124.patch

OBS-URL: https://build.opensuse.org/request/show/1105311
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-librosa?expand=0&rev=33
2023-08-22 19:02:55 +00:00
4aa9b749c8 - reenable python311 build (numba now available)
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-librosa?expand=0&rev=31
2023-05-29 13:45:57 +00:00
405b3c76df - skip python311, python-numba is not available for python 3.11 yet.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-librosa?expand=0&rev=29
2023-04-04 09:59:41 +00:00
97081c5a27 Accepting request 1061778 from home:bnavigator:branches:devel:languages:python:numeric
- Add update-for-numpy-124.patch
  * Replace types from expired deprecation by NumPy 1.24
  * Upstream fixed it within a bigger set of changes in
    gh#librosa/librosa#1587 and gh#librosa/librosa#1632
- Move to PEP518 build
- Improve test time by testing parallel with pytest-xdist

OBS-URL: https://build.opensuse.org/request/show/1061778
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-librosa?expand=0&rev=27
2023-01-28 21:14:30 +00:00
20d85c46a2 - Add update-tests-for-numpy-123.patch gh#librosa/librosa#1581
- Add remove-hanning-from-tests.patch gh#librosa/librosa#1548

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-librosa?expand=0&rev=25
2022-10-21 06:31:18 +00:00
Steve Kowalik
1ae0e469e9 Skip some tests on i586 due to overflows
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-librosa?expand=0&rev=23
2022-09-26 02:22:35 +00:00
Steve Kowalik
1430ccd07c - Update to 0.9.2:
* Fixed librosa.show_versions to match package dependencies.
  * Fixed a bug in librosa.effects.split when applied to multichannel data.
  * Removed test data from main repository and reduced the git attic.
  * Accept pre-constructed audioread objects in librosa.load.
  * Accelerate librosa.magphase.
  * Nearly full support for multi-channel processing.
  * Option to disable unicode characters in display functions.
  * Significantly expanded the library of example audio clips.
  * The default padding mode for most functions (including STFT) is now
    zero-padding.
  * librosa.load and librosa.stream can now operate directly on open
    soundfile objects.
  * librosa.display.specshow now uses centered coordinate grids.
  * librosa.iirt now exposes API control over resampling modes.
  * Maximum frequency is now correctly inferred as Nyquist in onset strength
    calculation.
  * librosa.effects.deemphasis no longer modifies the input signal in-place.
  * librosa.util.frame now correctly works for arbitrary memory layouts and
    numbers of axes.
  * Corrected a normalization error in inverse CQT.
  * ibrosa.cqt now supports arbitrary hop lengths.
  * Added a run-time check for minimally supported matplotlib versions.
  * Enhanced continuous integration testing for oldest and newest environments.
  * librosa.effects.deemphasis, inverse operation of
    librosa.effects.preemphasis.
  * librosa.display.waveshow, adaptively visualize waveforms by amplitude
    envelope when zoomed out, or raw sample values when zoomed in.
- Add patch remove-contextlib2.patch:
  * No longer require contextlib2.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-librosa?expand=0&rev=20
2022-09-20 06:04:27 +00:00
7fad5487f0 Accepting request 867761 from home:bnavigator:branches:devel:languages:python:numeric
- Disable python36 build because SciPy 1.6.0 dropped support for
  Python 3.6. Other packages from the NumPy family do the same
  (NEP29)
- Update requirements
- Enable tests. Use librosa-create-pooch-cache.py to provide the
  test data in librosa-pooch-cache.tar.gz. These files are under
  CC-BY-3.0 license.

OBS-URL: https://build.opensuse.org/request/show/867761
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-librosa?expand=0&rev=18
2021-01-30 11:38:24 +00:00
0143ceee43 Accepting request 861724 from home:dilawar:branches:devel:languages:python:numeric
- Update to version 0.8.0
   * Added pitch tracking (yin and pyin)
   * Variable-Q transform
   * Hindustani and Carnatic notation support
   * Expanded collection of example tracks
   * Numerous speedups and bugfixes 
   * Removed support for Python 3.5 and earlier.

OBS-URL: https://build.opensuse.org/request/show/861724
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-librosa?expand=0&rev=16
2021-01-08 15:04:29 +00:00
Todd R
5a176f942b Accepting request 768828 from home:TheBlackCat:branches:devel:languages:python:numeric
- Update to version 0.7.2
  + New Features
    * added liftering support to MFCC inversion. *Ayoub Malek*
    * added `pathlib` support to `core.load`. *Stef van der Struijk*
    * added "mu-law" compression and expansion (companding). *Brian McFee*
  + Bug fixes
    * fixed errors in dynamic time warping with `NaN` inputs and detection
      of invalid warping paths. *Frank Zalkow, Brian McFee*
    * fixed frame-length normalization in spectrogram-based RMS energy
      calculation. *Shunsuke Hidaka*
    * fixed the length of signals produced by `core.tone`. *Brian McFee*
  + Documentation
    * removed math formatting from documentation. *Vincent Lostanlen*
    * corrected documentation for DTW. *Eric Semeniuc*
    * corrected typos in time-frequency reassignment spectrogram
      documentation. *Scott Seyfarth*
    * removed `dct_type=None` as an option in MFCC documentation. *Brian McFee*
  + Other changes
    * expanded normalization modes in Mel basis construction. *Brian McFee*

OBS-URL: https://build.opensuse.org/request/show/768828
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-librosa?expand=0&rev=14
2020-01-30 16:03:34 +00:00
Todd R
4506b7c044 Accepting request 754759 from home:TheBlackCat:branches:devel:languages:python:numeric
Disable python2 support since dependencies dropped python2

OBS-URL: https://build.opensuse.org/request/show/754759
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-librosa?expand=0&rev=12
2019-12-06 19:08:15 +00:00
Todd R
fe28dd1af4 Accepting request 750041 from home:TheBlackCat:branches:devel:languages:python:numeric
Use github source

OBS-URL: https://build.opensuse.org/request/show/750041
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-librosa?expand=0&rev=10
2019-11-21 04:37:22 +00:00
Todd R
ea88b75834 Accepting request 749756 from home:TheBlackCat:branches:devel:languages:python:numeric
Update to version 0.7.1

OBS-URL: https://build.opensuse.org/request/show/749756
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-librosa?expand=0&rev=9
2019-11-19 20:54:17 +00:00
Todd R
59a6825488 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 20:35:34 +00:00
21e8ac0793 Accepting request 684458 from home:mcepl:branches:devel:languages:python:numeric
- Upgrade to 0.6.3:
  - This release contains a few minor bugfixes and many
    improvements to documentation and usability.
- Also, SPEC file is run through spec-cleaner.

OBS-URL: https://build.opensuse.org/request/show/684458
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-librosa?expand=0&rev=5
2019-03-12 18:15:33 +00:00
Todd R
88d73826e7 Python module for audio and music processing. Also used by some other python audio packages.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-librosa?expand=0&rev=1
2018-11-03 03:04:07 +00:00