Forums > MaxMSP

Stop the click when SFplay~ is stopped

March 6, 2008 | 3:02 pm

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?

March 6, 2008 | 3:12 pm

March 6, 2008 | 3:20 pm

March 3, 2012 | 2:37 am

I think this is a pretty good solution.


— Pasted Max Patch, click to expand. —
March 19, 2012 | 8:48 am


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

Viewing 5 posts - 1 through 5 (of 5 total)

Forums > MaxMSP