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 --- [email protected] - the Pure Data mailinglist https://lists.iem.at/hyperkitty/list/[email protected]/message/WDXKOYLK6LF5XN2UFMODWREXAV2MIQR3/ To unsubscribe send an email to [email protected] mailing list UNSUBSCRIBE and account-management -> https://lists.iem.at/
--- [email protected] - the Pure Data mailinglist https://lists.iem.at/hyperkitty/list/[email protected]/message/X3SMOHZDQUF73N3ZHQIUQ45NQWOR45ZR/ To unsubscribe send an email to [email protected] mailing list UNSUBSCRIBE and account-management -> https://lists.iem.at/
