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

0.13.0 read wav failed

Open bokesyo opened this issue 1 year ago • 1 comments

Got a bug when using soundfile==0.13.0 to load a wav byte

Error calculating duration: Error opening <_io.BytesIO object at 0x7fae50ad3650>: File contains data in an unknown format.

bokesyo avatar Jan 02 '25 18:01 bokesyo

Since you're using BytesIO, you need to provide a format manually.

bastibe avatar Jan 05 '25 11:01 bastibe