Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adaption to new scipy version #76

Merged
merged 7 commits into from
Jun 11, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@ jobs:
sudo apt-get install libsndfile1 sox
sudo apt-get install libzmq3-dev
pip install numpy pyzmq # pymatbridge needs numpy and pyzmq preinstalled (i.e. does not work to list in setup.py)
# Install of current version of pymatbridge on pypi does not work, using the git-repository instead
pip install git+https://github.com/arokem/python-matlab-bridge.git@master


- name: Install nara_wpe
run: |
Expand Down
6 changes: 3 additions & 3 deletions nara_wpe/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ def stft(
size,
shift,
axis=-1,
window=signal.blackman,
window=signal.windows.blackman,
window_length=None,
fading=True,
pad=True,
Expand Down Expand Up @@ -327,7 +327,7 @@ def istft(
stft_signal,
size=1024,
shift=256,
window=signal.blackman,
window=signal.windows.blackman,
fading=True,
window_length=None,
symmetric_window=False,
Expand Down Expand Up @@ -411,7 +411,7 @@ def istft(


def istft_single_channel(stft_signal, size=1024, shift=256,
window=signal.blackman, fading=True, window_length=None,
window=signal.windows.blackman, fading=True, window_length=None,
use_amplitude_for_biorthogonal_window=False,
disable_sythesis_window=False):
"""
Expand Down
2 changes: 2 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[build-system]
requires = ["setuptools", "wheel", "Cython", "numpy", "scipy"]
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@
'pandas',
'torch',
'cached_property',
'zmq',
'pyzmq', # Required to install pymatbridge
'pymatbridge',
],
Expand Down
Loading