Transient detection is used in a number of situations, among which transient preservation during time stretching, and onset detection.