Big All Pass

This is like an extremely exaggerated all-pass filter.
Instead of the usual few milliseconds of phase shift, each frequency gets delayed by an amount tied to the length of the sample itself: the lowest frequencies get delayed by up to the entire duration, while the highest ones are barely touched.
The shift wraps around cyclically, so anything pushed past the end of the sample reappears at the beginning.
Generates very interesting effects!

zipped script with windows .bat

Listen

input :


output :

Spectrograms

input :
Spectrogram of the input sample

output :
Spectrogram of the output sample