Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Silent error when a file is larger than 6 hours #459

Open
harryjulian opened this issue Feb 10, 2025 · 1 comment
Open

Silent error when a file is larger than 6 hours #459

harryjulian opened this issue Feb 10, 2025 · 1 comment

Comments

@harryjulian
Copy link

harryjulian commented Feb 10, 2025

I discovered that soundfile fails to load my 44.1Khz audio when it's duration exceeds around 6 hours (I had two files, one that was 8 hours and one that 9 and noticed they were being loaded as the same length).

Importantly, soundfile just returns the first 6 hours of audio and doesn't indicate there's been a failure to load the entire file -- I found this confusing and hard to diagnose.

It might make sense to make this a non-silent error if this is expected behaviour! :)

Soundfile 0.12.1, Python 3.10.15

@bastibe
Copy link
Owner

bastibe commented Feb 13, 2025

What format, and what is the file size? I'm guessing, 6 hours equals 4 GB?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants