From f1254ce9902071530b07aace31371b3fc29b4612 Mon Sep 17 00:00:00 2001 From: Ma5onic <18509613+Ma5onic@users.noreply.github.com> Date: Sat, 13 Apr 2024 05:33:46 -0400 Subject: [PATCH] Bump librosa to `0.10.2-release` branch This fixes `AttributeError: module 'scipy.signal' has no attribute 'hann'` that occurs when trying to augment data using `automix.py`. In librosa version 0.10.2.dev0, the `__trim_beats` in beat.py no longer uses scipy for hanning computation & now uses `np.hanning` instead. --- requirements.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/requirements.txt b/requirements.txt index 294290d3..d1cb5e16 100644 --- a/requirements.txt +++ b/requirements.txt @@ -17,3 +17,4 @@ torchaudio>=0.8,<2.1 tqdm treetable soundfile>=0.10.3;sys_platform=="win32" +librosa @ git+https://github.com/librosa/librosa.git@c0266e4