<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
</head>
<body dir="auto">
<div>Thanks for the tip! Someone attached a tanh~ abstraction that basically does what you suggested and it's working great. </div>
<div><br>
</div>
<div>When I drill down in the patch from </div>
<div>lp8_cheb~</div>
<div>|</div>
<div>lpc2</div>
<div>|</div>
<div>filter~ lpc2 does not create<br>
<br>
Sent from my iPhone</div>
<div><br>
On Jul 3, 2015, at 11:14 AM, Alexandre Torres Porres <<a href="mailto:porres@gmail.com">porres@gmail.com</a>> wrote:<br>
<br>
</div>
<blockquote type="cite">
<div>
<div dir="ltr">> <span style="font-size:12.8000001907349px">The tanh~.pd is working swell.</span>
<div><span style="font-size:12.8000001907349px"><br>
</span></div>
<div><span style="font-size:12.8000001907349px">Are you using mine? why not just use [expr~ tanh($v1)]?</span></div>
<div><span style="font-size:12.8000001907349px"><br>
</span></div>
<div><span style="font-size:12.8000001907349px">for the cheby filter, you'd need to know where are all the poles and zeros, then you could do it with vanilla raw filters or maybe even a few biquad~ in cascade</span></div>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">2015-07-03 11:55 GMT-03:00 Pagano, Patrick <span dir="ltr">
<<a href="mailto:pat@digitalworlds.ufl.edu" target="_blank">pat@digitalworlds.ufl.edu</a>></span>:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="auto">
<div>The tanh~.pd is working swell.</div>
<div>Would you all be able to suggest a replacement for the lp8_cheb~? I needed to replace three non-vanilla items</div>
<div>1.) tanh~</div>
<div>2.) make symbol [zexy]</div>
<div>3.) lp8_cheb~</div>
<div><br>
</div>
<div>I am trying to convert an algorithmic patch by a gentleman named Scott Norlund and these are the only problems from a rather couple patch. </div>
<div><br>
</div>
<div>Also, is there a work-around for "inits"? </div>
<div>Thank you all very much for the wonderful help<br>
<br>
Sent from my iPhone</div>
<div>
<div class="h5">
<div><br>
On Jul 3, 2015, at 2:44 AM, i go bananas <<a href="mailto:hard.off@gmail.com" target="_blank">hard.off@gmail.com</a>> wrote:<br>
<br>
</div>
<blockquote type="cite">
<div>
<div dir="ltr">yes, you need to use a [clip~ -3 3] to restrict the input.  But the function converges to +0.999999 and -0.999999 or whatever by then anyway, so for all practical purposes it is fine.  </div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Fri, Jul 3, 2015 at 2:26 PM, Miller Puckette <span dir="ltr">
<<a href="mailto:msp@ucsd.edu" target="_blank">msp@ucsd.edu</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I've never seen that approximation before but there must be some<br>
restriction on the allowable values of X since the expression diverges<br>
for large positive or negative values of x, while tanh(x) converges to<br>
+1 nad -1, respectively.<br>
<br>
cheers<br>
<span><font color="#888888">Miller<br>
</font></span>
<div>
<div>On Fri, Jul 03, 2015 at 01:23:29PM +0900, i go bananas wrote:<br>
> there's a good approximation for tanh that can be made using just a couple<br>
> of simple arithmetic objects:<br>
><br>
> formula is:  tanh(x) ~= x*(27+x*x) / (27+9*x*x)<br>
><br>
> it's close enough for every application i've ever come across, it's cheap<br>
> cos it only uses simple arithmetic, and it doesn't degrade the resolution<br>
> of your signal like a table lookup does.<br>
><br>
><br>
><br>
> On Fri, Jul 3, 2015 at 12:56 PM, Chris McCormick <<a href="mailto:chris@mccormick.cx" target="_blank">chris@mccormick.cx</a>> wrote:<br>
><br>
> > On 03/07/15 03:06, Pagano, Patrick wrote:<br>
> > > Is there a way i can replace something for tanh~<br>
> > > and inits in Vanilla 46?<br>
> ><br>
> > Using a pre-computed table for speed:<br>
> ><br>
> > <a href="https://github.com/chr15m/blockhead/blob/master/e_tanh.pd" rel="noreferrer" target="_blank">
https://github.com/chr15m/blockhead/blob/master/e_tanh.pd</a><br>
> > <a href="https://github.com/chr15m/blockhead/blob/master/e_tanh-help.pd" rel="noreferrer" target="_blank">
https://github.com/chr15m/blockhead/blob/master/e_tanh-help.pd</a><br>
> ><br>
> > Or install "blockhead" using deken. :)<br>
> ><br>
> > Cheers,<br>
> ><br>
> > Chris.<br>
> ><br>
> > --<br>
> > <a href="http://mccormick.cx/" rel="noreferrer" target="_blank">http://mccormick.cx/</a><br>
> ><br>
> > _______________________________________________<br>
> > <a href="mailto:Pd-list@lists.iem.at" target="_blank">Pd-list@lists.iem.at</a> mailing list<br>
> > UNSUBSCRIBE and account-management -><br>
> > <a href="http://lists.puredata.info/listinfo/pd-list" rel="noreferrer" target="_blank">
http://lists.puredata.info/listinfo/pd-list</a><br>
> ><br>
<br>
<br>
> _______________________________________________<br>
> <a href="mailto:Pd-list@lists.iem.at" target="_blank">Pd-list@lists.iem.at</a> mailing list<br>
> UNSUBSCRIBE and account-management -> <a href="http://lists.puredata.info/listinfo/pd-list" rel="noreferrer" target="_blank">
http://lists.puredata.info/listinfo/pd-list</a><br>
<br>
</div>
</div>
</blockquote>
</div>
<br>
</div>
</div>
</blockquote>
<blockquote type="cite">
<div><span>_______________________________________________</span><br>
<span><a href="mailto:Pd-list@lists.iem.at" target="_blank">Pd-list@lists.iem.at</a> mailing list</span><br>
<span>UNSUBSCRIBE and account-management -> <a href="http://lists.puredata.info/listinfo/pd-list" target="_blank">
http://lists.puredata.info/listinfo/pd-list</a></span><br>
</div>
</blockquote>
</div>
</div>
</div>
<br>
_______________________________________________<br>
<a href="mailto:Pd-list@lists.iem.at">Pd-list@lists.iem.at</a> mailing list<br>
UNSUBSCRIBE and account-management -> <a href="http://lists.puredata.info/listinfo/pd-list" rel="noreferrer" target="_blank">
http://lists.puredata.info/listinfo/pd-list</a><br>
<br>
</blockquote>
</div>
<br>
</div>
</div>
</blockquote>
</body>
</html>