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?
thanks
ross

#36223
Mar 6, 2008 at 3:12pm

#124207
Mar 6, 2008 at 3:20pm

#124208
Mar 3, 2012 at 2:37am

I think this is a pretty good solution.

best!

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

Hi,

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
http://www.1stcreativesolutions.co.uk/software.html

#124210

You must be logged in to reply to this topic.