sigmoid~.pd 367 B

123456789101112131415
  1. #N canvas 517 220 568 517 10;
  2. #X obj 222 142 inlet~;
  3. #X obj 237 163 abs~;
  4. #X obj 237 182 +~ 1;
  5. #X obj 222 201 /~;
  6. #X text 108 88 2015-02-07;
  7. #X obj 222 220 outlet~;
  8. #X text 108 60 x/(1+abs(x)) \, this should be a gentler curve than
  9. either tanh or atan;
  10. #X connect 0 0 1 0;
  11. #X connect 0 0 3 0;
  12. #X connect 1 0 2 0;
  13. #X connect 2 0 3 1;
  14. #X connect 3 0 5 0;