Have you tried an envelope generator? It seems that you need a couple of attack-decay envelope generators. You can use ADSR if you set the sustain and release to zero. As long as the EG is fast enough, you should be fine.