I updated the patch with 3 spaces instead of tabs and
attached into the email.
Regarding people wanting this, the effect became quite
popular in last few years. Here are some articles about
Regarding the algorithm, you can see better explained here
(with minor modifications than the code submitted to
Indeed, it is a FFT->do_something->IFFT approach,
but the phase randomization is an important step. It
sounds best on choirs ( like this one
) , ensemble music (like this one
- this has over 1 million views) .
It is not just useful for time stretching but also to
smear the sound over a period of time (if you set
stretch=1.0 and window to a large value, like 5 seconds).
This is an useful tool to create ambient music.