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
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 Institute University of Florida, USA (352)294-2020
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
On Thu, Jul 2, 2015 at 2:31 PM, Cyrille Henry ch@chnry.net 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, you should maybe just use pow~ or exp~ and build the whole formula.
Chuck
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 mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
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 czhenry@gmail.com wrote:
On Thu, Jul 2, 2015 at 2:31 PM, Cyrille Henry ch@chnry.net 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, you should maybe just use pow~ or exp~ and build the whole formula.
Chuck
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 mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
just use [expr~]
[expr~ $v1]
voilà
2015-07-02 16:53 GMT-03:00 Pagano, Patrick pat@digitalworlds.ufl.edu:
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 czhenry@gmail.com wrote:
On Thu, Jul 2, 2015 at 2:31 PM, Cyrille Henry ch@chnry.net 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, you should maybe just use pow~ or exp~ and build the whole
formula.
Chuck
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 mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
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 zmoelnig@iem.at wrote:
On 07/02/2015 10:19 PM, Alexandre Torres Porres wrote:
just use [expr~]
does that count as vanilla?
fgmards IOhannes
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
?Martin when i move the number box it does not change value after the snapshot~
should it or does it need a signal?
Also
i was trying to replace lp8_cheb~ as well in Vanilla and it seems like a series of iemlib files until i get down to "filter~" which i cannot find a replacement for
anyone deal with this yet either?
pp
Patrick Pagano B.S, M.F.A Audio and Projection Design Faculty Digital Worlds Institute University of Florida, USA (352)294-2020 ________________________________ From: Pd-list pd-list-bounces@mail.iem.at on behalf of Martin Peach chakekatzil@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 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 <zmoelnig@iem.atmailto:zmoelnig@iem.at> wrote: On 07/02/2015 10:19 PM, Alexandre Torres Porres wrote:
just use [expr~]
does that count as vanilla?
fgmards IOhannes
Pd-list@lists.iem.atmailto:Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
You need to turn on the DSP...
Martin
On Thu, Jul 2, 2015 at 5:39 PM, Pagano, Patrick pat@digitalworlds.ufl.edu wrote:
Martin when i move the number box it does not change value after the snapshot~
should it or does it need a signal?
Also
i was trying to replace lp8_cheb~ as well in Vanilla and it seems like a series of iemlib files until i get down to "filter~" which i cannot find a replacement for
anyone deal with this yet either?
pp
*Patrick Pagano B.S, M.F.A* Audio and Projection Design Faculty Digital Worlds Institute University of Florida, USA (352)294-2020
*From:* Pd-list pd-list-bounces@mail.iem.at on behalf of Martin Peach < chakekatzil@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 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 zmoelnig@iem.at wrote:
On 07/02/2015 10:19 PM, Alexandre Torres Porres wrote:
just use [expr~]
does that count as vanilla?
fgmards IOhannes
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
no...
I scrwed up
[expr~ tanh($v1)]]
2015-07-02 18:42 GMT-03:00 Martin Peach chakekatzil@gmail.com:
You need to turn on the DSP...
Martin
On Thu, Jul 2, 2015 at 5:39 PM, Pagano, Patrick <pat@digitalworlds.ufl.edu
wrote:
Martin when i move the number box it does not change value after the snapshot~
should it or does it need a signal?
Also
i was trying to replace lp8_cheb~ as well in Vanilla and it seems like a series of iemlib files until i get down to "filter~" which i cannot find a replacement for
anyone deal with this yet either?
pp
*Patrick Pagano B.S, M.F.A* Audio and Projection Design Faculty Digital Worlds Institute University of Florida, USA (352)294-2020
*From:* Pd-list pd-list-bounces@mail.iem.at on behalf of Martin Peach < chakekatzil@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 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 zmoelnig@iem.at wrote:
On 07/02/2015 10:19 PM, Alexandre Torres Porres wrote:
just use [expr~]
does that count as vanilla?
fgmards IOhannes
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
guys, what I've trying to say is that the expr family of objects has a tanh function... and it is exactly the same as what you get with cyclone/tanh~]
sorry for screwing up and not being clear
see attachments
cheers
ps. I consider expr to be vanilla... why wouldn't it be?
2015-07-02 18:43 GMT-03:00 Alexandre Torres Porres porres@gmail.com:
no...
I scrwed up
[expr~ tanh($v1)]]
2015-07-02 18:42 GMT-03:00 Martin Peach chakekatzil@gmail.com:
You need to turn on the DSP...
Martin
On Thu, Jul 2, 2015 at 5:39 PM, Pagano, Patrick < pat@digitalworlds.ufl.edu> wrote:
Martin when i move the number box it does not change value after the snapshot~
should it or does it need a signal?
Also
i was trying to replace lp8_cheb~ as well in Vanilla and it seems like a series of iemlib files until i get down to "filter~" which i cannot find a replacement for
anyone deal with this yet either?
pp
*Patrick Pagano B.S, M.F.A* Audio and Projection Design Faculty Digital Worlds Institute University of Florida, USA (352)294-2020
*From:* Pd-list pd-list-bounces@mail.iem.at on behalf of Martin Peach chakekatzil@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 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 zmoelnig@iem.at wrote:
On 07/02/2015 10:19 PM, Alexandre Torres Porres wrote:
just use [expr~]
does that count as vanilla?
fgmards IOhannes
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
but hey, if one, for any reason, has a problem with expr, you can do with vanilla math objects too as attached
2015-07-02 18:50 GMT-03:00 Alexandre Torres Porres porres@gmail.com:
guys, what I've trying to say is that the expr family of objects has a tanh function... and it is exactly the same as what you get with cyclone/tanh~]
sorry for screwing up and not being clear
see attachments
cheers
ps. I consider expr to be vanilla... why wouldn't it be?
2015-07-02 18:43 GMT-03:00 Alexandre Torres Porres porres@gmail.com:
no...
I scrwed up
[expr~ tanh($v1)]]
2015-07-02 18:42 GMT-03:00 Martin Peach chakekatzil@gmail.com:
You need to turn on the DSP...
Martin
On Thu, Jul 2, 2015 at 5:39 PM, Pagano, Patrick < pat@digitalworlds.ufl.edu> wrote:
Martin when i move the number box it does not change value after the snapshot~
should it or does it need a signal?
Also
i was trying to replace lp8_cheb~ as well in Vanilla and it seems like a series of iemlib files until i get down to "filter~" which i cannot find a replacement for
anyone deal with this yet either?
pp
*Patrick Pagano B.S, M.F.A* Audio and Projection Design Faculty Digital Worlds Institute University of Florida, USA (352)294-2020
*From:* Pd-list pd-list-bounces@mail.iem.at on behalf of Martin Peach chakekatzil@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 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 zmoelnig@iem.at wrote:
On 07/02/2015 10:19 PM, Alexandre Torres Porres wrote:
just use [expr~]
does that count as vanilla?
fgmards IOhannes
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
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 "blockhead" using deken. :)
Cheers,
Chris.
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 resolution of your signal like a table lookup does.
On Fri, Jul 3, 2015 at 12:56 PM, Chris McCormick chris@mccormick.cx wrote:
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 "blockhead" using deken. :)
Cheers,
Chris.
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
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 bananas wrote:
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 resolution of your signal like a table lookup does.
On Fri, Jul 3, 2015 at 12:56 PM, Chris McCormick chris@mccormick.cx wrote:
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 "blockhead" using deken. :)
Cheers,
Chris.
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Is there something similar in Vanilla for a [lp8_cheb~ 20000 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 msp@ucsd.edu wrote:
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 bananas wrote: 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 resolution of your signal like a table lookup does.
On Fri, Jul 3, 2015 at 12:56 PM, Chris McCormick chris@mccormick.cx wrote:
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 "blockhead" using deken. :)
Cheers,
Chris.
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
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.
On Fri, Jul 3, 2015 at 2:26 PM, Miller Puckette msp@ucsd.edu wrote:
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 bananas wrote:
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 resolution of your signal like a table lookup does.
On Fri, Jul 3, 2015 at 12:56 PM, Chris McCormick chris@mccormick.cx
wrote:
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 "blockhead" using deken. :)
Cheers,
Chris.
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management ->
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 problems from a rather couple patch.
Also, is there a work-around for "inits"? Thank you all very much for the wonderful help
Sent from my iPhone
On Jul 3, 2015, at 2:44 AM, i go bananas <hard.off@gmail.commailto:hard.off@gmail.com> wrote:
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.
On Fri, Jul 3, 2015 at 2:26 PM, Miller Puckette <msp@ucsd.edumailto:msp@ucsd.edu> wrote: 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 bananas wrote:
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 resolution of your signal like a table lookup does.
On Fri, Jul 3, 2015 at 12:56 PM, Chris McCormick <chris@mccormick.cxmailto:chris@mccormick.cx> wrote:
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 "blockhead" using deken. :)
Cheers,
Chris.
Pd-list@lists.iem.atmailto:Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Pd-list@lists.iem.atmailto:Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Pd-list@lists.iem.atmailto:Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
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 pat@digitalworlds.ufl.edu:
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 problems from a rather couple patch.
Also, is there a work-around for "inits"? Thank you all very much for the wonderful help
Sent from my iPhone
On Jul 3, 2015, at 2:44 AM, i go bananas hard.off@gmail.com wrote:
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.
On Fri, Jul 3, 2015 at 2:26 PM, Miller Puckette msp@ucsd.edu wrote:
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 bananas wrote:
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
resolution
of your signal like a table lookup does.
On Fri, Jul 3, 2015 at 12:56 PM, Chris McCormick chris@mccormick.cx
wrote:
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 "blockhead" using deken. :)
Cheers,
Chris.
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management ->
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
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 <porres@gmail.commailto:porres@gmail.com> wrote:
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 <pat@digitalworlds.ufl.edumailto:pat@digitalworlds.ufl.edu>: 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 problems from a rather couple patch.
Also, is there a work-around for "inits"? Thank you all very much for the wonderful help
Sent from my iPhone
On Jul 3, 2015, at 2:44 AM, i go bananas <hard.off@gmail.commailto:hard.off@gmail.com> wrote:
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.
On Fri, Jul 3, 2015 at 2:26 PM, Miller Puckette <msp@ucsd.edumailto:msp@ucsd.edu> wrote: 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 bananas wrote:
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 resolution of your signal like a table lookup does.
On Fri, Jul 3, 2015 at 12:56 PM, Chris McCormick <chris@mccormick.cxmailto:chris@mccormick.cx> wrote:
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 "blockhead" using deken. :)
Cheers,
Chris.
Pd-list@lists.iem.atmailto:Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Pd-list@lists.iem.atmailto:Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Pd-list@lists.iem.atmailto:Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Pd-list@lists.iem.atmailto:Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
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 20000Hz, but a filter guru would easilly find that out, then you could implement it with 4 biquads, which seems to be the simpler solution
2015-07-03 12:22 GMT-03:00 Pagano, Patrick pat@digitalworlds.ufl.edu:
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 porres@gmail.com wrote:
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 pat@digitalworlds.ufl.edu:
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 problems from a rather couple patch.
Also, is there a work-around for "inits"? Thank you all very much for the wonderful help
Sent from my iPhone
On Jul 3, 2015, at 2:44 AM, i go bananas hard.off@gmail.com wrote:
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.
On Fri, Jul 3, 2015 at 2:26 PM, Miller Puckette msp@ucsd.edu wrote:
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 bananas wrote:
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
resolution
of your signal like a table lookup does.
On Fri, Jul 3, 2015 at 12:56 PM, Chris McCormick chris@mccormick.cx
wrote:
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 "blockhead" using deken. :)
Cheers,
Chris.
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management ->
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list