i need some help with arrays. my aim is to build an array with 16 values that are all y-values of an envelope (env). since i only want to use 3 points to define the shape of env (controlled via hotvalues), all values inbetween should be interpolated. for example a v-shaped env, where the first value in the array is 2, the 8th is 0 and the 16th 2. so the resulting values in the array should be something like : 2 1.75 1.5 1.25 1 0.75 0.5 0.25 0 0.25 0.5 0.75 1 1.25 1.5 1.75 2
is it possible to build env directly while creating the array via "collect:"? my first thought was to increment/ decrement over the 16 values … any ideas?
EDIT: here you find the example sound that illustrates my problem: