python-soundfile
python-soundfile copied to clipboard
Can't read a FLAC file
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.