Hey Chris,

Here's a vanilla tanh~ version that doesn't involve a table lookup

https://github.com/enzienaudio/heavylib/blob/master/hv_tanh.pd

Cheers,
Joe

On 25 February 2016 at 04:03, Chris McCormick <chris@mccormick.cx> wrote:
Hello,

On 24/02/16 17:23, Alexandros Drymonitis wrote:
If you copy the [tanh] abstraction from purepd and make it a signal one,
doesn't that work? Then it's vanilla.

expr~ is available in all versions of Pd and has the same license.

It is probably slower than making a table, so doing what you said is a good idea for optimisation. Here is an abstraction that does what you describe:

https://github.com/chr15m/blockhead/blob/master/e_tanh.pd


Cheers,

Chris.

--
http://mccormick.cx/

_______________________________________________
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list