list-fifo-help.pd 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. #N canvas 0 26 587 530 10;
  2. #X msg 247 186 1 2 3 4 5;
  3. #X symbolatom 260 207 10 0 0 0 - - -;
  4. #X floatatom 273 224 5 0 0 0 - - -;
  5. #X obj 198 339 bng 15 250 50 0 empty empty EOL 17 7 1 10 -262144 -1
  6. -1;
  7. #X text 59 38 [list-fifo];
  8. #X text 97 64 [list-fifo] stores incoming (list-)messages and outputs
  9. them one by one on incoming bangs in the order they arrive like a FIFO:
  10. first in \, first out.;
  11. #X msg 295 274 bang;
  12. #X obj 140 305 list-fifo;
  13. #X text 82 439 2007 Frank Barknecht;
  14. #X msg 238 166 a b c;
  15. #X msg 140 149 bang;
  16. #X text 230 147 store lists or elements ("push");
  17. #X text 111 125 trigger output ("pop");
  18. #X text 277 255 clear stored list ("reset");
  19. #N canvas 0 0 450 300 show 0;
  20. #X obj 60 48 inlet;
  21. #X obj 60 72 list prepend set;
  22. #X obj 60 97 list trim;
  23. #X obj 60 126 outlet;
  24. #X connect 0 0 1 0;
  25. #X connect 1 0 2 0;
  26. #X connect 2 0 3 0;
  27. #X restore 140 364 pd show;
  28. #X msg 74 262 clear;
  29. #X msg 140 390 1 2 3 4 5;
  30. #N canvas 491 26 494 396 META 0;
  31. #X text 12 25 LICENSE SIBSD;
  32. #X text 12 175 AUTHOR Frank Barknecht;
  33. #X text 12 195 HELP_PATCH_AUTHORS Frank Barknecht. "pd meta" information
  34. added by Jonathan Wilkes for Pd version 0.42.;
  35. #X text 12 135 OUTLET_0 list;
  36. #X text 12 95 INLET_1 anything;
  37. #X text 12 155 OUTLET_1 bang;
  38. #X text 12 5 KEYWORDS control list_op;
  39. #X text 12 45 DESCRIPTION store incoming (list-)messages and output
  40. them one by one on incoming bangs in the order they arrive;
  41. #X text 12 75 INLET_0 bang;
  42. #X text 12 115 INLET_2 bang;
  43. #X restore 528 500 pd META;
  44. #X connect 0 0 7 1;
  45. #X connect 1 0 7 1;
  46. #X connect 2 0 7 1;
  47. #X connect 6 0 7 2;
  48. #X connect 7 0 14 0;
  49. #X connect 7 1 3 0;
  50. #X connect 9 0 7 1;
  51. #X connect 10 0 7 0;
  52. #X connect 14 0 16 0;
  53. #X connect 15 0 7 0;