I am getting a casting error when trying to run the afromb example:
/home/ubuntu/anaconda/lib/python2.7/site-packages/echonest/remix/audio.py in mix(dataA, dataB, mix)
824 else:
825 newdata = AudioData(ndarray=dataB.data, sampleRate=dataB.sampleRate, numChannels=dataB.numChannels, defer=False)
--> 826 newdata.data *= 1 - float(mix)
827 newdata.data[:dataA.endindex] += dataA.data[:] * float(mix)
828 return newdata
TypeError: Cannot cast ufunc multiply output from dtype('float64') to dtype('int16') with casting rule 'same_kind'
which looks very similar to the closed issue #13
I'm using an Anaconda Python 2.7 install which might contribute to the problem, though other examples work fine.
I am getting a casting error when trying to run the afromb example:
which looks very similar to the closed issue #13
I'm using an Anaconda Python 2.7 install which might contribute to the problem, though other examples work fine.