I am using uzi + expr to generate a number of coordinates and storing them in a buffer~. I then use a metro + counter to output the y-values from the buffer~ and use these to scale the gain of an oscillator. The resulting sound is close to my goal, but includes some unwanted noise.
Looking for suggestions about a better way to do this. Should the envelope coordinates be stored in a table instead of a buffer~? Is there a better way to extract the coordinates from the buffer~ using index~ or something similar? I tried a few different implementations without much success. Is there a canonical way to generate envelopes like this?