Add the “Gain/Volume” filter and keyframe the level.
There is an example here:
Also demonstrated in this video: