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

fix crashes when loading large audio files #1076

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

tcohenpoliglotnews
Copy link

Fixes issue where np.frombuffer() would crash on large audio files due to excessive memory usage or misaligned buffer sizes.

I had an issue where I was trying to load an audio file that was 964.54 MB and it would instantly crash without an error message. By loading the audio file in chunks we can avoid such issues.

Fixes issue where `np.frombuffer()` would crash on large audio files due to excessive memory usage or misaligned buffer sizes.
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

Successfully merging this pull request may close these issues.

1 participant