pyFLAC
pyFLAC copied to clipboard
only produce empty flac file
Hello everyone, I am using the code: pyflac example.wav -o pyflac.flac to get FLAC file. However, the output file is always empty and there is no warning or error. Can you give me some hints for it?
Also, I can successfully save FLAC file with soundfile, which partially validate my FLAC library is correct.
I guess I figure it out. FLAC, pyFLAC both only accept integer input. soundfile read can't automatically tackle it but will turn floating-point to 0.