multivac61 / pv

A Phase Vocoder implementation in Python. Phase updates are done as proposed in Miller Puckette's paper "Phase-locked Vocoder X".
MIT License
8 stars 3 forks source link

Most files when passed throw this error #1

Open monishrnath opened 6 years ago

monishrnath commented 6 years ago

pv.py:84: RuntimeWarning: invalid value encountered in divide Freq0 = B/A abs(B/A) Traceback (most recent call last): File "pv.py", line 203, in y = pv.timestretch(x, alpha) File "pv.py", line 127, in timestretch y[pp:pp+N] += wnp.fft.ifft(Y) ValueError: operands could not be broadcast together with shapes (968,) (1024,) (968,)

locua commented 5 years ago

Traceback (most recent call last): File "pv.py", line 199, in <module> y = pv.timestretch(x, alpha) File "pv.py", line 123, in timestretch y[pp:pp+N] += w*np.fft.ifft(Y) TypeError: Cannot cast ufunc add output from dtype('complex128') to dtype('float64') with casting rule 'same_kind'

I get this similar error.