Turn pitch dsp into tempo dsp
Code refactoring