You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would like to load just an interval of a given .wav file aiming to avoid bringing the full audio to memory. Is it possible?
When I call .load(filepath) it seems to bring everything at once. Am I right?
Thank you for this awesome lib!
The text was updated successfully, but these errors were encountered:
I'm working on a feature that allows this. It still loads all raw data to RAM, but only decodes the part you need. Is that acceptable in your case? You would use it like myAudioFile.load ("path_to_file", numFrames);
I'm still looking into only loading the raw data that is needed, because this current approach doesn't give much benefit over loading a full audio file and resizing it. But that would need a bit more of restructuring.
I took a look at this but eventually decided against it - I explain more in the response to pull request #45, so have a look there for a full explanation :)
I would like to load just an interval of a given .wav file aiming to avoid bringing the full audio to memory. Is it possible?
When I call .load(filepath) it seems to bring everything at once. Am I right?
Thank you for this awesome lib!
The text was updated successfully, but these errors were encountered: