Thank you for your reply.

My track is a midi track, so I don't think I can use the Edit window.

I imagine I should be able to do the same thing from the piano rool?

I tried by editing the velocity, but unfortunately I can only get one event velocicy by note. So if I want to fade out on a half note it doesn't seem possible ....