list_accum-help.pd 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. #N canvas 1 53 592 427 10;
  2. #X obj 62 27 cnv 15 400 100 empty empty empty 20 12 0 14 -249661 -66577
  3. 0;
  4. #X text 67 77 author: mrtoftrash@gmail.com;
  5. #X text 67 66 tags: lists;
  6. #X text 67 88 version: 2009-10-06 (added the second mode);
  7. #X text 68 27 description: accumulates anything into a big list. Outputs
  8. the list on a bang.;
  9. #X obj 91 283 tof/list_accum;
  10. #X msg 112 218 1 2 3 4 5 6;
  11. #X obj 90 146 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 -1
  12. -1;
  13. #X obj 91 348 print;
  14. #X floatatom 104 191 5 0 0 0 - - -;
  15. #X msg 194 218 a b c d;
  16. #X obj 206 254 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144
  17. -1 -1;
  18. #X obj 175 316 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144
  19. -1 -1;
  20. #X text 148 195 Inlet 1 \, anything: Accumulate atoms;
  21. #X text 227 254 Inlet 2 \, bang: Clear accumulated atoms;
  22. #X text 111 145 Inlet 1 \, bang: Output and clear accumulated atoms
  23. ;
  24. #X text 195 314 Outlet 2 \, bang: Nothing accumulated (empty);
  25. #X text 130 348 Outlet 1 \, list: Accumulated atoms;
  26. #N canvas 306 222 494 344 META 0;
  27. #X text 12 175 HELP_PATCH_AUTHORS "pd meta" information added by Jonathan
  28. Wilkes for Pd version 0.42.;
  29. #X text 12 25 LICENSE GPL v2;
  30. #X text 12 155 AUTHOR Thomas Ouellet Fredericks;
  31. #X text 12 5 KEYWORDS control list_op;
  32. #X text 12 75 INLET_0 bang anything;
  33. #X text 12 95 INLET_1 bang;
  34. #X text 12 115 OUTLET_0 list;
  35. #X text 12 135 OUTLET_1 bang;
  36. #X text 12 45 DESCRIPTION accumulate anything into a list and output
  37. the list on a bang;
  38. #X restore 539 358 pd META;
  39. #X connect 5 0 8 0;
  40. #X connect 5 1 12 0;
  41. #X connect 6 0 5 0;
  42. #X connect 7 0 5 0;
  43. #X connect 9 0 5 0;
  44. #X connect 10 0 5 0;
  45. #X connect 11 0 5 1;