Re: tanh~ distortion without expr~?
Miller Puckette via Pd-list <[email protected]>
| Newsgroups | gmane.comp.multimedia.puredata.general |
|---|---|
| Message-ID | <[email protected]> |
and if you really want a deep dive, here's a quarter-long course (with crude videos, plus downloadable patches)... https://msp.ucsd.edu/syllabi/206.15w/index.htm cheers Miller On 12/11/25 11:30 AM, Simon Iten wrote: > 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) > > > > >> 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://urldefense.com/v3/__https://www.desmos.com/calculator/dxg70xbtne?lang=fr__;!!Mih3wA!Gwvs5Ara2rK8oYyZCPw8DXtirri849uMbi5-AufUJYhJCcLw0CTaQRpLBfFjNej0Br0_PfIPJH1PfA$ >>> >>> 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://urldefense.com/v3/__https://lists.iem.at/hyperkitty/list/[email protected]/message/WDXKOYLK6LF5XN2UFMODWREXAV2MIQR3/__;!!Mih3wA!Gwvs5Ara2rK8oYyZCPw8DXtirri849uMbi5-AufUJYhJCcLw0CTaQRpLBfFjNej0Br0_PfLMPfJYtQ$ >>>> >>>> To unsubscribe send an email to [email protected] mailing list >>>> UNSUBSCRIBE and account-management -> https://urldefense.com/v3/__https://lists.iem.at/__;!!Mih3wA!Gwvs5Ara2rK8oYyZCPw8DXtirri849uMbi5-AufUJYhJCcLw0CTaQRpLBfFjNej0Br0_PfJUKLgW-g$ >>>> >>> >>> --- >>> [email protected] - the Pure Data mailinglist >>> https://urldefense.com/v3/__https://lists.iem.at/hyperkitty/list/[email protected]/message/X3SMOHZDQUF73N3ZHQIUQ45NQWOR45ZR/__;!!Mih3wA!Gwvs5Ara2rK8oYyZCPw8DXtirri849uMbi5-AufUJYhJCcLw0CTaQRpLBfFjNej0Br0_PfKSv210mA$ >>> >>> To unsubscribe send an email to [email protected] mailing list >>> UNSUBSCRIBE and account-management -> https://urldefense.com/v3/__https://lists.iem.at/__;!!Mih3wA!Gwvs5Ara2rK8oYyZCPw8DXtirri849uMbi5-AufUJYhJCcLw0CTaQRpLBfFjNej0Br0_PfJUKLgW-g$ >> --- >> [email protected] - the Pure Data mailinglist >> https://urldefense.com/v3/__https://lists.iem.at/hyperkitty/list/[email protected]/message/QWFI7EJH5BRAA7HGHPZKWITDBWIIDPXW/__;!!Mih3wA!Gwvs5Ara2rK8oYyZCPw8DXtirri849uMbi5-AufUJYhJCcLw0CTaQRpLBfFjNej0Br0_PfLH_ZKvSw$ >> >> To unsubscribe send an email to [email protected] mailing list >> UNSUBSCRIBE and account-management -> https://urldefense.com/v3/__https://lists.iem.at/__;!!Mih3wA!Gwvs5Ara2rK8oYyZCPw8DXtirri849uMbi5-AufUJYhJCcLw0CTaQRpLBfFjNej0Br0_PfJUKLgW-g$ >> > > --- > [email protected] - the Pure Data mailinglist > https://urldefense.com/v3/__https://lists.iem.at/hyperkitty/list/[email protected]/message/NRJRL7CP3FUDOVKU76FZATZCRWE7BNRD/__;!!Mih3wA!Gwvs5Ara2rK8oYyZCPw8DXtirri849uMbi5-AufUJYhJCcLw0CTaQRpLBfFjNej0Br0_PfJ6t5Ck7g$ > > To unsubscribe send an email to [email protected] mailing list > UNSUBSCRIBE and account-management -> https://urldefense.com/v3/__https://lists.iem.at/__;!!Mih3wA!Gwvs5Ara2rK8oYyZCPw8DXtirri849uMbi5-AufUJYhJCcLw0CTaQRpLBfFjNej0Br0_PfJUKLgW-g$ --- [email protected] - the Pure Data mailinglist https://lists.iem.at/hyperkitty/list/[email protected]/message/HU7EJS7XKDFPRI3OAEMHHKBOFV7EWYB2/ To unsubscribe send an email to [email protected] mailing list UNSUBSCRIBE and account-management -> https://lists.iem.at/