i have a custom gaussian generator, and i have peter castines patch for

laplace, (which i think is identically with the mexican hat) but both dont

create curves for waves, they are only creating random numbers of the

respective distribution.

-110

]]>Try the patch sm.window-maker by Steven Miller.

http://www.stevenmmiller.net/software.html

Also one of Fredrik Olafsons abstractions could be the one. Look at “Make envelopes”.

http://www.fredrikolofsson.com/pages/code-max.html

And Graham Wakefield posted a very nice patch in this thread:

http://www.cycling74.com/forums/topic.php?id=18071

Maybe not what you where after?

]]>the function “flat-top” seems to be at least something similar to laplace, the form

looks familiar, just the weighting seems different.

mexican hat / laplace should result in almost identical sqare-roots (energy) for both poles.

However, if a mexican hat is a negative normalised distribution of a second derivative of a Gaussian function, then is this any help?

Gaussian function.

a*e^(-((x-b)^2)/(2*(c^2)))

Second derivative of a Gaussian function.

(a*e^(-((b-x)^2)/(2*c^2)) * (b^2 – 2*b*x – c^2 + x^2)) / c^4

;)

]]>