On Sun, 1 Aug 2010, Funs Seelen wrote:

if (f > 0, g > 0)
  use [min~]
if (f < 0, g < 0)
  use [max~]

[expr if(abs($f1)<abs($f2), $f1, $f2)]

else
  set signal to 0, or value = (f + g) / 2, or some better idea one could think 
of..

[expr if(abs($f1)==abs($f2),0,if(abs($f1)<abs($f2), $f1, $f2))]

 _ _ __ ___ _____ ________ _____________ _____________________ ...
| Mathieu Bouchard, Montréal, Québec. téléphone: +1.514.383.3801
_______________________________________________
[email protected] mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list

Reply via email to