Pyroomacoustics is a package for audio signal processing for indoor applications. It was developed as a fast prototyping platform for beamforming algorithms in indoor scenarios.
with SciPy 1.13.0 scipy.signal.hann is removed as it was deprecated. it can now be found in scipy.signal.windows.hann. this applies at least for pyroomacoustics/metrics.py
File "/home/my/work/test/chnol3000/src/c3k/rir2b/ism.py", line 11, in <module>
import pyroomacoustics as pra
File "/home/my/work/test/pyroomacoustics/pyroomacoustics/__init__.py", line 129, in <module>
from .metrics import *
File "/home/my/work/test/pyroomacoustics/pyroomacoustics/metrics.py", line 5, in <module>
from scipy.signal import hann
ImportError: cannot import name 'hann' from 'scipy.signal' (/home/my/work/test/venv39/lib64/python3.9/site-packages/scipy/signal/__init__.py)
with SciPy 1.13.0
scipy.signal.hann
is removed as it was deprecated. it can now be found inscipy.signal.windows.hann
. this applies at least forpyroomacoustics/metrics.py
see https://github.com/scipy/scipy/pull/19676