-
Notifications
You must be signed in to change notification settings - Fork 10
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
Inconsistent behavior with very long audio files (LIMITATION) #64
Comments
Stress test of 30 minutes: PASSED
TODO: stress test of 2 hours (expected to take much more time, unlikely to work). |
Hello @Picorims, thank you for this great project! Is there any update on the issue? I came up with the same issue, 01:02:23 hour length audio. load is OK, save is OK, when I try to export, opens a borderless separate window and it just hangs that way I'm using Windows 10 with 16 GB RAM and AMD Ryzen 5 2600X Six-Core Processor 3.60 GHz
|
Hello @cantecim , Unfortunately I do not plan to fix this issue as of now as it is complicated and non trivial to fix (quite a lot of refactoring to do). If I do fix it, it will likely be in a rewrite that I don't know yet if I will do it or not. I'd much rather improve everything at once than continuously refactoring a project full of tech debt and issues. Note though that it might hangs for a while for such long files, because under the hood it does heavy processing on the audio buffer, that is not logged (it never came to mind those could be such a huge bottleneck). The audio buffer being so big, a single task can take a while and there are multiple of them. You can try to let it run for a while and see if it succeeds. (The additional delay will be on the audio initialization, the frame rendering speed should remain unchanged, it will just start way after export launch). I can look for publishing an update with additional logs on export to log progress on these tasks eventually if that can help you (and if I have the time for it, too). But that is pretty much it I think. If there is a lot of demand around the issue I will see if there is a workaround that I can try to implement to help exporting long audio files but since it'd take me a lot of free time I'd prefer spend it on clean foundations instead. |
I just wanted to add notes from my experience with this issue and what I am doing to handle it for my use case. Notes: My specific resolution: |
Thanks for the input! I came to a similar conclusion, although opening the file can also be memory intensive. In the new implementation I move that processing to Rust, and look forward to process the file in batch (although it won't be top priority, as I will focus on feature parity first). The software look at the number of channels and don't really care if both are equals. So I am not really surprised of that behavior. May I know the length and size of your audio file for reference please? It will help me for design choices when I focus on that optimization. |
I have a few of them, here's info on two of them I have on hand.
Converting them to mono via:
|
Describe the bug
When opening a very long audio file, it is unclear whether the app is loading or can't support it. The app seems to freeze or stop responding.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The app notifies when it can't proceed the audio. (This would be an evolution)
Desktop (please complete the following information):
Additional context
The length required to reproduce the bug depends of the computer capabilities.
The text was updated successfully, but these errors were encountered: