#include "ladspa-util.h"
Stretches or compresses the input with a ringbuffer.
Because of the ringbuffer you will get stretches of silence or clicks when the read pointer passes the write pointer.
The ringbuffer is about 2.7-3.0s long, depending on the sample rate.
Versions with variable buffer sizes or declicking code would be easy (but a bit less efficient); shout if you would find them useful.
The rate of the output signal; eg. 2.0 will double the speed. Negative numbers will play backwards.
Pretty much any value will work, but the ranges give what most people are going to want to use. You can get some interesting sounds with very high numbers (e.g. 2000).