Skip to content
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
18 changes: 14 additions & 4 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,16 @@ on:
jobs:
build:

runs-on: ubuntu-latest
runs-on: ${{ matrix.os }}
strategy:
matrix:
python-version: ['3.7', '3.8', '3.9', '3.10', '3.11', '3.12']
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12']
os: [ubuntu-latest]
include:
- os: ubuntu-22.04
python-version: '3.7'
- os: macos-latest
python-version: '3.12'

steps:
- uses: actions/checkout@v2
Expand All @@ -27,8 +33,12 @@ jobs:
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


if: matrix.os != 'macos-latest'
- name: Install macos dependencies
run: |
brew install libsndfile
pip install git+https://github.com/arokem/python-matlab-bridge.git@master
if: matrix.os == 'macos-latest'
- name: Install nara_wpe
run: |
pip install -e .[test]
Expand Down
2 changes: 1 addition & 1 deletion nara_wpe/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -450,7 +450,7 @@ def istft_single_channel(stft_signal, size=1024, shift=256,
if disable_sythesis_window:
window = np.ones_like(window)

time_signal = scipy.zeros(stft_signal.shape[0] * shift + size - shift)
time_signal = np.zeros(stft_signal.shape[0] * shift + size - shift)

for j, i in enumerate(range(0, len(time_signal) - size + shift, shift)):
time_signal[i:i + size] += window * np.real(irfft(stft_signal[j]))
Expand Down