Yep, this works great!! Here is the implementation and another one, that is also quite nice…
(It is a patch to be compiled with heavy, but you get the idea)
fx_slot1.pd
Description: Binary data
> Am 11.12.2025 um 12:35 schrieb Peter P. <[email protected]>: > > Wow, quick and neat -merci bien Cyrille! > P > > * cyrille henry <[email protected]> [2025-12-11 12:11]: >> 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/ > > --- > [email protected] - the Pure Data mailinglist > https://lists.iem.at/hyperkitty/list/[email protected]/message/QWFI7EJH5BRAA7HGHPZKWITDBWIIDPXW/ > > 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/NRJRL7CP3FUDOVKU76FZATZCRWE7BNRD/ To unsubscribe send an email to [email protected] mailing list UNSUBSCRIBE and account-management -> https://lists.iem.at/
