Smoothly fading samples and synths

Hi,

I’d appreciate very much if someone could run my first to code examples (see top of this thread) and check if it does what I said it would (fade in/out smoothly). I did use this several times in other context and it worked (otherwise I would not have posted it :wink: ). Since a few weeks it doesn’t anymore and I wonder if there is something wrong with my installation (SP 3.1).

Cheers
Martin