## Make Loop

> Apply a crossfade to a sound so that it can be seemingless played back as a loop

this works by creating a crossfaded overlap between the beginning and ending of the sound. either a piece from the beginning is cutted away (= crossfade position "end of loop \ pre loop /") or the ending is cutted away (= crossfade position "begin of loop \ post loop /"). in the former case the maximum fadelength is determined by the initial skip setting, in the latter case the maximum fadelength is determined by the final skip setting. the actual crossfade length is the minimum of this implicit maximum length and the "crossfade length" setting.

for example, with crossfade position "end of loop \ pre loop /", choosing an initial skip of 2 seconds and a crossfade length of 1 second results in a sound that is 2 seconds shorter than the input sound, starting directly at offset 2 seconds, running right to the end and having a final crossfade of one second at the very end that makes the loop work.

for strictly phase correlated signals, an "equal energy" fade type is provided, however usually signals are not correlated and you use "equal power" to approximately maintain original loudness during the crossfade.

Known bugs: ---

To be done: ---

last modified:03-oct-06