The disclosure relates to a method of determining one or more periods of
recurring events within a recorded signal, such as, music. This method
can include establishing one or more anchor points in the recorded signal
where an anchor point is indicative of a beginning point for a period of
recurring events in the recorded signal, determining a length for the
period of recurring events in the recorded signal where the length starts
from the established anchor point and defines a first loop, and refining
the length for the period of recurring events by comparing the first loop
with subsequent loops. The subsequent loops have the length of the first
loop.