listUnfold-help.pd 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. #N canvas 1 53 833 496 10;
  2. #X msg 103 315 anything works too;
  3. #X msg 91 288 symbol test;
  4. #X obj 62 27 cnv 15 400 100 empty empty empty 20 12 0 14 -249661 -66577
  5. 0;
  6. #X text 67 77 author: mrtoftrash@gmail.com;
  7. #X obj 100 392 tof/listUnfold;
  8. #X obj 464 388 tof/listUnfold wait;
  9. #X obj 493 339 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144
  10. -1 -1;
  11. #X text 67 66 tags: lists;
  12. #X obj 100 418 print ATOM;
  13. #X obj 181 419 print INDEX;
  14. #X obj 464 414 print ATOM;
  15. #X obj 575 411 print INDEX;
  16. #X msg 60 259 list a b c d e f g;
  17. #X msg 464 312 list m n o p q r s t u v;
  18. #X text 468 293 step 1: add list;
  19. #X text 513 337 step 2: bang to output each element;
  20. #X obj 122 343 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144
  21. -1 -1;
  22. #X text 147 342 bang to interrupt output;
  23. #X text 52 206 listUnfold has two modes:;
  24. #X text 68 27 description: output the individual elements of a list
  25. and their indices \, either immediately or on bangs.;
  26. #X text 67 88 version: 2009-10-06 (added the second mode);
  27. #X text 56 229 default mode: output everything once it is received.
  28. ;
  29. #X text 428 226 "wait" or "manually" mode: output one element for every
  30. bang .;
  31. #X obj 61 133 cnv 15 400 30 empty empty empty 20 12 0 14 -261234 -66577
  32. 0;
  33. #X text 69 139 listUnfold is deprecated. Please use list_unfold instead.
  34. ;
  35. #N canvas 327 180 494 344 META 0;
  36. #X text 12 155 HELP_PATCH_AUTHORS "pd meta" information added by Jonathan
  37. Wilkes for Pd version 0.42.;
  38. #X text 12 135 AUTHOR Thomas Ouellet Fredericks;
  39. #X text 12 25 DESCRIPTION output the individual elements of a list
  40. and their indices \, either immediately or on bangs;
  41. #X text 12 75 INLET_0 anything bang;
  42. #X text 12 95 OUTLET_0 float symbol;
  43. #X text 12 115 OUTLET_1 float;
  44. #X text 12 5 KEYWORDS control list_op deprecated;
  45. #X text 12 55 LICENSE GPL v2;
  46. #X restore 747 450 pd META;
  47. #X connect 0 0 4 0;
  48. #X connect 1 0 4 0;
  49. #X connect 4 0 8 0;
  50. #X connect 4 1 9 0;
  51. #X connect 5 0 10 0;
  52. #X connect 5 1 11 0;
  53. #X connect 6 0 5 0;
  54. #X connect 12 0 4 0;
  55. #X connect 13 0 5 0;
  56. #X connect 16 0 4 0;