KAIST-MACLab / PyTSMod

An open-source Python library for audio time-scale modification.
GNU General Public License v3.0
194 stars 27 forks source link

[BUG] #15

Closed Abel1802 closed 4 years ago

Abel1802 commented 4 years ago

Describe the bug TypeError: slice indices must be integers or None or have an index method

This error occered when I was runing the code of tutorial.

TypeError
seyong92 commented 4 years ago

Hi, could you tell me your NumPy version and the shape of your audio signal?

Maybe it can be a version issue of NumPy.

Abel1802 commented 4 years ago

Thank you for your reply. I used two audio signals which are wav1 and wav2. But they all encountered the same problem.

Screen Shot 2020-11-24 at 9 35 08 AM
seyong92 commented 4 years ago

Hi, I just found that the issue is from the NumPy dtype of old versions.

If there is no reason to use the specific version of NumPy, I would recommend you to use the latest one.

Otherwise, just wait for the bug fixed version. I will update it ASAP.

seyong92 commented 4 years ago

The version 0.3.3 just came out! The issue is solved. Thank you for your report!