fine tune the bpm detector