Stop the click when SFplay~ is stopped

Mar 6, 2008 at 3:02pm

Stop the click when SFplay~ is stopped

I am making a monster patch which involves lots of sfplays going on and off. I want to remove the click when the sfplay object is stopped. is there a way that i can achieve a sort of fade out rather than an immediate stop?

Mar 6, 2008 at 3:12pm

Mar 6, 2008 at 3:20pm

Mar 3, 2012 at 2:37am

I think this is a pretty good solution.


– Pasted Max Patch, click to expand. –
Mar 19, 2012 at 8:48am


Look at implementing a gain slider which is controlled by a sine wave with a smooth envelope, this is invoked when you require the stop function. When the gain slider hits 0 you can then bang to the sfplay~ top stop the audio. There will be no click as there will be no output gain.

This can be really useful and is used in Digital Audio systems throughout, completely customisable.

Kind regards,

1st Creative Labs


You must be logged in to reply to this topic.