[PD] [min~] [max~] [closest2zero~??]

Funs Seelen funsseelen at gmail.com
Sun Aug 1 21:51:23 CEST 2010


Hello,

Has anyone ever found a trick or built an object to use the value closest to
zero like [min~] does for lowest and [max~] for highest? Something like (for
two signalvalues (f and g)):

if (f > 0, g > 0)
  use [min~]
if (f < 0, g < 0)
  use [max~]
else
  set signal to 0, or value = (f + g) / 2, or some better idea one could
think of..

I was trying to shape waves out of combined functions (in this case tangent
en cotangent (http://en.wikipedia.org/wiki/File:Trigonometric_functions.svg)).
Infinity doesn't sound so nice ;-).

mfg,

Funs
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20100801/757e15d3/attachment.htm>


More information about the Pd-list mailing list