-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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 repeated key and beat analysis with default settings #2775
Fix repeated key and beat analysis with default settings #2775
Conversation
Thank you, this fixes the bug with some of my tracks mysteriously not having beats detected. |
I noticed even more issues about how the beat analyzer decides when to execute the analysis and when finished how to store the results. But I'll stop at this point and leave the rewrite to someone else. It is to dangerous to touch this code without the ability to test all code paths. |
Uhhh yeah something is very wrong here... now when I do batch analysis, many files still don't have a BPM marked, and those that do all show the same value for BPM... 😕 |
@be Did you try to reset the BPM of those tracks before analyzing them? Tracks with an invalid BPM (<= 0) might not be re-analyzed depending on the settings and the database contents. This doesn't make sense to me. Those tracks should always be re-analyzed. |
Track that have been reset while the database column was missing need to be reset again. |
Yes, I reset the BPM and beatgrid from the track context menu. I am experimenting with a fresh database now... |
Testing with a fresh database revealed no new issues. |
Now zero tracks have a BPM detected with a fresh database... 😕 |
Nevermind, I was testing with this branch only. With the 2.3 branch including #2773, BPMs are showing up when analyzing with a fresh databse. |
Those issues occur when resetting the bpm with the database column update missing. We could mitigate the issues for early testers by re-analyzing always if bpm <= 0. |
The commit in #2776 could fix some inconsistent database entries. |
Found while analyzing #2773.
Ideally the settings should never return an empty value, but I won't fix this.