Wow, quick and neat -merci bien Cyrille! P
hello,
For a distortion, you can use f(x) = x*(27 + x²) / (27 + 9*x²) as a good enough tanh approximation. (x need to be clipped between -3 and 3) https://www.desmos.com/calculator/dxg70xbtne?lang=fr
Cheers C
Le 11/12/2025 à 12:01, Peter P. a écrit :
Hi,
is there a vanilla way to implement tanh~ distortion without using expr~?
Thanks! P
pd-list@lists.iem.at - the Pure Data mailinglist https://lists.iem.at/hyperkitty/list/pd-list@lists.iem.at/message/WDXKOYLK6L...
To unsubscribe send an email to pd-list-leave@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.iem.at/
pd-list@lists.iem.at - the Pure Data mailinglist https://lists.iem.at/hyperkitty/list/pd-list@lists.iem.at/message/X3SMOHZDQU...
To unsubscribe send an email to pd-list-leave@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.iem.at/