BrownsugarZeer / BSS_DUET

Implements the DUET blind source separation algorithm. MATLAB code from here - https://github.com/yvesx/casa495
MIT License
4 stars 0 forks source link

[BUG] <out of range index> #1

Open abeerM opened 2 months ago

abeerM commented 2 months ago

Checked other resources

Current Behavior

I am trying to use my WAV files that includes up to 2 speakers only in order to separate them.

Expected behaviour

I was expecting to have an output of two audio files for each speaker but I am getting this error win, nperseg = _triage_segments(window, nperseg, input_length=x.shape[-1]) IndexError: tuple index out of range

Example Code

No response

Error Message and Stack Trace (if applicable)

win, nperseg = _triage_segments(window, nperseg, input_length=x.shape[-1])
IndexError: tuple index out of range

Environment

windows

Further Information

I am using anaconda, python 3.9 and all packages are installed
BrownsugarZeer commented 2 months ago

@abeerM this is because the scipy package version is older. I will update the version and fix the code as soon as possible.