[PD] tanh~ (core dumped)

Kosmas Giannoutakis giannoutakiskosmas at hotmail.com
Tue Aug 15 22:41:50 CEST 2017


Hi, i want to implement the tanh function in PD Vanilla. I use the formula y(x) = (1 - b*e^-(a*x + lnb))/(1/b + e^-(a*x + lnb)) where (a) is a steepness parameter and b controls the amplitude range. You can see my implementation which seems to work,  but when I incorporate it to larger patches, I get a core dumped...

Any clue why is this happening or any suggestions for a better implementation?

Thanks,
Kosmas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20170815/5c8bf6df/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: tanh~.pd
Type: text/x-puredata
Size: 1630 bytes
Desc: tanh~.pd
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20170815/5c8bf6df/attachment.bin>


More information about the Pd-list mailing list