Patent attributes
A transient echo can be avoided during time stretching of a digital audio signal by detecting a transient in a frame of a digital audio signal, identifying another occurrence of the transient in a subsequent frame of the digital audio signal, rotating the transient occurring in the subsequent frame to align the transient occurring in the subsequent frame with the transient detected in the frame, and aggregating the frame with the subsequent frame. Further, another occurrence of the transient can be identified in another subsequent frame of the digital audio signal and it can be determined that the transient occurring in that subsequent frame cannot be aligned with the transient detected in the frame. The copy of the transient occurring in the another subsequent frame can then be blended across that frame, such as by performing phase accumulation on one or more frequency components.