list-minmax-help.pd 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. #N canvas 0 31 626 365 10;
  2. #X floatatom 254 271 5 0 0 0 min - -;
  3. #X floatatom 326 271 5 0 0 0 max - -;
  4. #X obj 254 138 random 100;
  5. #X obj 254 116 until;
  6. #X msg 366 138 set;
  7. #X msg 232 61 10;
  8. #X msg 254 160 add2 \$1;
  9. #X obj 232 88 t b f b;
  10. #X msg 254 203 41 49 75 14 47 94 89 87 30 87;
  11. #X text 178 28 list-minmax: find minimum and maximum float in a list.
  12. ;
  13. #X msg 141 201 2;
  14. #X text 140 178 special cases;
  15. #X obj 254 234 list-minmax;
  16. #X msg 179 202 11 2 2 2;
  17. #N canvas 510 66 494 396 META 0;
  18. #X text 12 25 LICENSE SIBSD;
  19. #X text 12 125 AUTHOR Frank Barknecht;
  20. #X text 12 145 HELP_PATCH_AUTHORS Frank Barknecht. "pd meta" information
  21. added by Jonathan Wilkes for Pd version 0.42.;
  22. #X text 12 5 KEYWORDS control list_op;
  23. #X text 12 85 OUTLET_0 float;
  24. #X text 12 45 DESCRIPTION find minimum and maximum float in a list
  25. ;
  26. #X text 12 65 INLET_0 list;
  27. #X text 12 105 OUTLET_1 float;
  28. #X restore 566 331 pd META;
  29. #X connect 2 0 6 0;
  30. #X connect 3 0 2 0;
  31. #X connect 4 0 8 0;
  32. #X connect 5 0 7 0;
  33. #X connect 6 0 8 0;
  34. #X connect 7 0 8 0;
  35. #X connect 7 1 3 0;
  36. #X connect 7 2 4 0;
  37. #X connect 8 0 12 0;
  38. #X connect 10 0 12 0;
  39. #X connect 12 0 0 0;
  40. #X connect 12 1 1 0;
  41. #X connect 13 0 12 0;