Changes the size of an array by compress or expand its elements. Provides a linear interpolation.
For example, with a 512 array length in input and Factor of 0.5 we obtain a 0.5*512=256 array length output.
Can be used to expand or compress the spectra of a sound.
|input array||expand with factor=2||expand with factor=0.5|
Bypasses the module.
compressed / expanded array.
compress expand factor: