Filter envelope

hey all,

i'm sure there's a simple way of modulating the filter cutoff value by using attack and release from within the lpf effect.. but i just can't seem to figure out quite how to do it.
any help would be really appreciated.