python-soundfile icon indicating copy to clipboard operation
python-soundfile copied to clipboard

Can't read a FLAC file

Open brucenielson opened this issue 1 year ago • 2 comments

I have a small working flac file. I apparently can't attach it. But it works fine playing it but it is short. 96k.

import soundfile as sf with open('facebook_mms-tts-eng_test_sentence.flac', 'rb') as f: data, samplerate = sf.read(f)

I get this error: ValueError: array is too big; arr.size * arr.dtype.itemsize is larger than the maximum possible size.

brucenielson avatar Dec 06 '24 03:12 brucenielson