hi, i have an osc~ set to a frequency. i also have an array with a ramp up and ramp down of volume.
how do i use the array to set the amplitude of the osc~ to zero and to maximum and then to zero, basically a fade in, fade out.
here's what the array looks like:
i was thinking i can just put a metronome into [tabread4~ envelope]
but for some reason that doesn't seem to work. i'm basically wanting to create amplitude modulation that can be controlled, so a specific amount of time there will be sound out, and the other amount of time, there's silence. so like gapping the audio. but i'm not entirely sure how to do it or how to accomplish that mathematically.
it would be wonderful to be able to sync this to say 1/4 or 1/16 or 1/8 and to modify at will, but i'm really not sure how to do this.