1. A computer program product that includes a plurality of sets of instruction codes stored on a computer readable medium for implementing a digital signal processing autocorrelation function that extracts periodic information from noise-corrupted signal, the computer program product comprising: a first set of instruction codes for adapting autocorrelation parameters in real-time; a second set of instruction codes for calculating specific determination values that optimize the performance of the autocorrelation function; a third set of instruction codes for performing per-bit multiplication by logically ANDing samples in two arrays; a fourth set of instruction codes for performing an integer summation of the per-bit multiplication to generate a correlation output estimate; and a fifth set of instruction codes for using a threshold detection process to discretize the correlation output estimate to a one-bit binary sample.