[PD] Guitar distortion (Chebyshev?)

Martin Peach martin.peach at sympatico.ca
Sun Sep 12 19:24:57 CEST 2010


On 2010-09-12 12:05, Mathieu Bouchard wrote:
> On Sun, 12 Sep 2010, Martin Peach wrote:
>
>> It's not the capacitors, it's the amplifier losing gain when it
>> approaches the power supply.
>
> Yeah, but it seems to be a pattern similar to the one found in
> capacitors, because capacitor theory has exp(-x) all over it, and the
> only way that capacitors behave like [hip~] is when the signal is much
> below the capacity rating (µF)... otherwise they lose gain... when they
> don't, it's because exp(-x) can be well approximated by x.
>

I guess it's similar since capacitors charge at a rate proportional to a 
voltage difference, while transistors can supply charge carriers at a 
rate proportional to a voltage difference, so caps charge fastest when 
they are nearly empty and transistors have the best gain with small 
signal inputs.

The whole universe has exp written all over it in fact...

> And then, exp is very close to tanh in several different ways, one of
> them being this (use gnuplot) :
>
> plot [-2:2] [-1:1] exp(x*sqrt(2))-1, 1-exp(-x*sqrt(2)), tanh(x), x
>
> I put the plain 'x' at the end to show what I mean above (though you
> already know that)
>

Of course, all the hyperbolic trig functions are made from exp, by 
definition.

http://en.wikipedia.org/wiki/Hyperbolic_function

Another use of exp is the sigmoid function used in biology, that can be 
used to make a soft transition from one state to another as in 'fuzzy 
logic'.

Martin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sigmoid_neuron.pd
Type: application/puredata
Size: 475 bytes
Desc: not available
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20100912/edd5a3c6/attachment-0002.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sigmoid_neuron-help.pd
Type: application/puredata
Size: 507 bytes
Desc: not available
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20100912/edd5a3c6/attachment-0003.bin>


More information about the Pd-list mailing list