an alternative implementation of pitch_xcorr for machines with enough