c4dm / qm-dsp

A C++ library of functions for DSP and Music Informatics purposes. Used by the QM Vamp Plugins amongst other things.
https://code.soundsoftware.ac.uk/projects/qm-dsp
GNU General Public License v2.0
52 stars 11 forks source link

Fix a rounding issue, returning key value 25 #2

Closed daschuer closed 5 years ago

daschuer commented 5 years ago

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: https://github.com/mixxxdj/mixxx/pull/2109

daschuer commented 5 years ago

OK, this one is now updated hopefully as requested.