[PD] a slightly nicer saturator than tanh~

Miller Puckette msp at ucsd.edu
Sat Oct 28 01:19:58 CEST 2017


Also try arctangent in place of tanh.  Its asymptotic behavior is
1/x instead of e^(-x) which makes for softer clipping.

I often make a big table to speed up the atan lookup using tabread4~ although
you have to be careful at the table limits.

cheers
Miller

On Fri, Oct 27, 2017 at 11:12:56PM +0200, cyrille henry wrote:
> depending on the input you can also LP filter the signal before the distortion.
> 
> oversampling and filtering is the worst way to deal with aliasing, but sometimes there is no other solution.
> 
> Le 27/10/2017 à 22:03, Matt Davey a écrit :
> > ok yeah, i guess i mean, "nicer" in a way that doesn't alias so bad.
> > 
> > seems oversampling and filtering is the way to go with that, but just wondering if there's some cheap way to avoid aliasing with distortion, without oversampling too much?
> 
> _______________________________________________
> Pd-list at lists.iem.at mailing list
> UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list



More information about the Pd-list mailing list