[PD] tanh~ (core dumped)
Dario Sanfilippo
sanfilippo.dario at gmail.com
Tue Aug 15 23:32:25 CEST 2017
Hi, Kosmas.
I'm using (1 - e^-2x)/(1 + e^-2x) and it seems to work fine though you
wouldn't have the parameters you mentioned.
Cheers,
D
On 15 August 2017 at 13:41, Kosmas Giannoutakis <
giannoutakiskosmas at hotmail.com> wrote:
> 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
>
> _______________________________________________
> Pd-list at lists.iem.at mailing list
> UNSUBSCRIBE and account-management -> https://lists.puredata.info/
> listinfo/pd-list
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20170815/ecb72cec/attachment-0001.html>
More information about the Pd-list
mailing list