TypeError: 'numpy.float64' object cannot be interpreted as an integer sounddevice code example
Example: numpy.float64' object cannot be interpreted as an integer
false:
np.zeros(np.float(3))
Right:
np.zeros(np.int(np.float(3)))
false:
np.zeros(np.float(3))
Right:
np.zeros(np.int(np.float(3)))