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 a rounding issue, returning key value 25 #2

Merged
merged 6 commits into from
May 30, 2019

Conversation

daschuer
Copy link
Contributor

@daschuer daschuer commented May 11, 2019

The two bins above center B minor are treated as 25. This patch shifts also
the input chromagram by 2 to have center C on 1 like the profiles

The Bug was discovered in the Mixxx project:
mixxxdj/mixxx#2109

daschuer added 6 commits May 24, 2019 19:58
The two bins above center B minor are treated as 25. This patch shifts also
the input chromagram by 2 to have center C on 1 like the profiles
The global profile buffers where used concurrently by different threads
leading to wrong detection results. This is fixed by using a local copy
of the buffers. In addition, this commit also includes some minor
performance improvements.
@daschuer daschuer force-pushed the keydetection_rounding branch from 0483dc2 to 895c00e Compare May 24, 2019 20:12
@daschuer
Copy link
Contributor Author

daschuer commented May 24, 2019

OK, this one is now updated hopefully as requested.

@cannam cannam merged commit 895c00e into c4dm:master May 30, 2019
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.

2 participants