摘要 |
<p>Method and apparatus for time-scaling and/or pitch shifting by discarding and/or repeating segments of a signal (302). The signal (302) is stored as a series of samples on a memory (124) where it is readable by one or more read pointers (304, 306). Periodicity of segments of the signal (302) is determined by evaluating normalized cross-correlation over a range of possible periods. Transients are detected by monitoring changes in rms signal value. To achieve time compression or time stretching, a segment is skipped/discarded whenever a maximum time-discrepancy between the current output and an ideal output is reached or a high periodicity is detected, a jump of the optimal length would not make this time discrepancy too high, and no transient is present in the segment to be skipped/discarded.</p> |