Re: [PD] Vanilla replacement for tanh~

2015-07-03 Thread Alexandre Torres Porres
well, I was someone who did it, and I wonder and ask you why don't you just use [expr~ tanh($v1)] like I also suggested. It does the same thing and is way simpler. I don't know about the poles and zeros from an 8 pole cheby filter with cuttoff at 2Hz, but a filter guru would easilly find that

Re: [PD] Vanilla replacement for tanh~

2015-07-03 Thread Pagano, Patrick
Thanks for the tip! Someone attached a tanh~ abstraction that basically does what you suggested and it's working great. When I drill down in the patch from lp8_cheb~ | lpc2 | filter~ lpc2 does not create Sent from my iPhone On Jul 3, 2015, at 11:14 AM, Alexandre Torres Porres mailto:por...@gma

Re: [PD] Vanilla replacement for tanh~

2015-07-03 Thread Alexandre Torres Porres
> The tanh~.pd is working swell. Are you using mine? why not just use [expr~ tanh($v1)]? 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 2015-07-03 11:55 GMT-03:00 Pagano, Patrick :

Re: [PD] Vanilla replacement for tanh~

2015-07-03 Thread Pagano, Patrick
The tanh~.pd is working swell. Would you all be able to suggest a replacement for the lp8_cheb~? I needed to replace three non-vanilla items 1.) tanh~ 2.) make symbol [zexy] 3.) lp8_cheb~ I am trying to convert an algorithmic patch by a gentleman named Scott Norlund and these are the only proble

Re: [PD] Vanilla replacement for tanh~

2015-07-02 Thread i go bananas
yes, you need to use a [clip~ -3 3] to restrict the input. But the function converges to +0.99 and -0.99 or whatever by then anyway, so for all practical purposes it is fine. On Fri, Jul 3, 2015 at 2:26 PM, Miller Puckette wrote: > I've never seen that approximation before but there mus

Re: [PD] Vanilla replacement for tanh~

2015-07-02 Thread Pagano, Patrick
Is there something similar in Vanilla for a [lp8_cheb~ 2 100] When I copy the iemlib abs into my extra and dive into the objects it eventually fails because it cannot create filter~ Sent from my iPhone > On Jul 3, 2015, at 1:27 AM, Miller Puckette wrote: > > I've never seen that approxima

Re: [PD] Vanilla replacement for tanh~

2015-07-02 Thread Miller Puckette
I've never seen that approximation before but there must be some restriction on the allowable values of X since the expression diverges for large positive or negative values of x, while tanh(x) converges to +1 nad -1, respectively. cheers Miller On Fri, Jul 03, 2015 at 01:23:29PM +0900, i go banan

Re: [PD] Vanilla replacement for tanh~

2015-07-02 Thread i go bananas
there's a good approximation for tanh that can be made using just a couple of simple arithmetic objects: formula is: tanh(x) ~= x*(27+x*x) / (27+9*x*x) it's close enough for every application i've ever come across, it's cheap cos it only uses simple arithmetic, and it doesn't degrade the resolut

Re: [PD] Vanilla replacement for tanh~

2015-07-02 Thread Chris McCormick
On 03/07/15 03:06, Pagano, Patrick wrote: > Is there a way i can replace something for tanh~ > and inits in Vanilla 46? Using a pre-computed table for speed: https://github.com/chr15m/blockhead/blob/master/e_tanh.pd https://github.com/chr15m/blockhead/blob/master/e_tanh-help.pd Or install "block

Re: [PD] Vanilla replacement for tanh~

2015-07-02 Thread Alexandre Torres Porres
this yet either? >>>> >>>> >>>> pp >>>> >>>> >>>> *Patrick Pagano B.S, M.F.A* >>>> Audio and Projection Design Faculty >>>> Digital Worlds Institute >>>> University of Florida, USA >>&

Re: [PD] Vanilla replacement for tanh~

2015-07-02 Thread Alexandre Torres Porres
t;>> pp >>> >>> >>> *Patrick Pagano B.S, M.F.A* >>> Audio and Projection Design Faculty >>> Digital Worlds Institute >>> University of Florida, USA >>> (352)294-2020 >>> -- >>&

Re: [PD] Vanilla replacement for tanh~

2015-07-02 Thread Alexandre Torres Porres
020 >> -- >> *From:* Pd-list on behalf of Martin Peach < >> chakekat...@gmail.com> >> *Sent:* Thursday, July 2, 2015 5:34 PM >> *To:* IOhannes m zmölnig >> *Cc:* pd-list@lists.iem.at >> *Subject:* Re: [PD] Vanilla replacement

Re: [PD] Vanilla replacement for tanh~

2015-07-02 Thread Martin Peach
aculty > Digital Worlds Institute > University of Florida, USA > (352)294-2020 > -- > *From:* Pd-list on behalf of Martin Peach < > chakekat...@gmail.com> > *Sent:* Thursday, July 2, 2015 5:34 PM > *To:* IOhannes m zmölnig > *Cc:* p

Re: [PD] Vanilla replacement for tanh~

2015-07-02 Thread Pagano, Patrick
m zmölnig Cc: pd-list@lists.iem.at Subject: Re: [PD] Vanilla replacement for tanh~ In pd Pd 0.46.6 I can do the attached patch without adding any extra externals so it's probably vanilla. Martin On Thu, Jul 2, 2015 at 5:13 PM, IOhannes m zmölnig mailto:zmoel...@iem.at>> wrote: O

Re: [PD] Vanilla replacement for tanh~

2015-07-02 Thread Martin Peach
In pd Pd 0.46.6 I can do the attached patch without adding any extra externals so it's probably vanilla. Martin On Thu, Jul 2, 2015 at 5:13 PM, IOhannes m zmölnig wrote: > On 07/02/2015 10:19 PM, Alexandre Torres Porres wrote: > > just use [expr~] > > does that count as vanilla? > > fgmards > I

Re: [PD] Vanilla replacement for tanh~

2015-07-02 Thread IOhannes m zmölnig
On 07/02/2015 10:19 PM, Alexandre Torres Porres wrote: > just use [expr~] does that count as vanilla? fgmards IOhannes signature.asc Description: OpenPGP digital signature ___ Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management ->

Re: [PD] Vanilla replacement for tanh~

2015-07-02 Thread Alexandre Torres Porres
just use [expr~] [expr~ $v1] voilà 2015-07-02 16:53 GMT-03:00 Pagano, Patrick : > I'm confused can you show me what you mean? > use > [exp~ then what?] > > Sent from my iPhone > > > On Jul 2, 2015, at 3:40 PM, Charles Z Henry wrote: > > > >> On Thu, Jul 2, 2015 at 2:31 PM, Cyrille Henry wrote

Re: [PD] Vanilla replacement for tanh~

2015-07-02 Thread Pagano, Patrick
I'm confused can you show me what you mean? use [exp~ then what?] Sent from my iPhone > On Jul 2, 2015, at 3:40 PM, Charles Z Henry wrote: > >> On Thu, Jul 2, 2015 at 2:31 PM, Cyrille Henry wrote: >> hello, >> >> Le 02/07/2015 21:06, Pagano, Patrick a écrit : >>> >>> Is there a way i can r

Re: [PD] Vanilla replacement for tanh~

2015-07-02 Thread Charles Z Henry
On Thu, Jul 2, 2015 at 2:31 PM, Cyrille Henry wrote: > hello, > > Le 02/07/2015 21:06, Pagano, Patrick a écrit : >> >> Is there a way i can replace something for tanh~ > > > sin~ / cos~ > > sin~ is a [+~ 0.25] and a [cos~] > > cheers > c That's tan~ tanh(x) = (e^x - e^-x)/(e^x + e^-x) In vanilla

Re: [PD] Vanilla replacement for tanh~

2015-07-02 Thread Cyrille Henry
hello, Le 02/07/2015 21:06, Pagano, Patrick a écrit : Is there a way i can replace something for tanh~ sin~ / cos~ sin~ is a [+~ 0.25] and a [cos~] cheers c and inits in Vanilla 46? please help! pp /Patrick Pagano B.S, M.F.A/ Audio and Projection Design Faculty Digital Worlds Inst

[PD] Vanilla replacement for tanh~

2015-07-02 Thread Pagano, Patrick
Is there a way i can replace something for tanh~ and inits in Vanilla 46? please help! pp Patrick Pagano B.S, M.F.A Audio and Projection Design Faculty Digital Worlds Institute University of Florida, USA (352)294-2020 ___ Pd-list@lists.iem.at maili