Pitch scale2

This is the next step on the pitch issue.
This PR contains some fixes to streamline the pitch calculation.
It is on top of https://github.com/mixxxdj/mixxx/pull/415