I made a class for generating gaussian envelopes. However I don't think my approach is neither the best nor the fastest nor the most suitable for what you want to do.
But anyway you'll find the code attached below.
Modifying the gain member of your oscillators at a control rate according to the "function" you want should work. Alternatively you can modify a separate gain ugen where your oscillators are connected to.

hope it helps.

eduard