bastibe / python-soundfile

SoundFile is an audio library based on libsndfile, CFFI, and NumPy
BSD 3-Clause "New" or "Revised" License
718 stars 111 forks source link

Value Error: array is too big when loading .flac file #416

Open asusdisciple opened 1 year ago

asusdisciple commented 1 year ago

I get this error:

line 1323, in _create_empty_array
    return np.empty(shape, dtype, order='C')
ValueError: array is too big; `arr.size * arr.dtype.itemsize` is larger than the maximum possible size.

All I do is using sf.read("filename.wav"). I use the latest version and no anaconda, just pip.

Maybe someone can help.