ds_transition_occupy.pd 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132
  1. #N canvas 180 22 575 673 10;
  2. #X obj 113 109 r /ds/\$1\$2/occupy;
  3. #N canvas 572 35 570 506 occupy 0;
  4. #X obj 136 66 inlet;
  5. #X obj 136 314 outlet;
  6. #X msg 338 54 1;
  7. #X msg 384 167 0;
  8. #X obj 338 108 spigot;
  9. #X obj 384 145 r /ds/\$1\$2/dispatched;
  10. #X obj 338 220 s /ds/\$1\$2/busy;
  11. #X obj 175 157 r /ds/\$1\$2/busy;
  12. #X obj 338 32 r /ds/\$1\$2/dispatch/start;
  13. #X obj 136 202 kdemux2;
  14. #X obj 175 233 b;
  15. #X obj 175 255 list prepend \$2: not dispatched (occupied);
  16. #X obj 175 277 s /ds/\$1/print/debug;
  17. #X obj 371 82 r /ds/\$1\$2/occupy/state;
  18. #X obj 175 179 pipe 0;
  19. #X connect 0 0 9 0;
  20. #X connect 2 0 4 0;
  21. #X connect 3 0 6 0;
  22. #X connect 4 0 6 0;
  23. #X connect 5 0 3 0;
  24. #X connect 7 0 14 0;
  25. #X connect 8 0 2 0;
  26. #X connect 9 0 1 0;
  27. #X connect 9 1 10 0;
  28. #X connect 10 0 11 0;
  29. #X connect 11 0 12 0;
  30. #X connect 13 0 4 1;
  31. #X connect 14 0 9 1;
  32. #X restore 124 579 pd occupy;
  33. #X obj 136 487 spigot 1;
  34. #X obj 181 463 == 0;
  35. #X obj 113 347 f;
  36. #X obj 149 347 f;
  37. #X obj 136 389 kmux2;
  38. #X obj 130 223 t f f;
  39. #X obj 130 245 sel 0 1;
  40. #X obj 130 131 r /ds/\$1/occupy/override;
  41. #X obj 200 223 r /ds/\$1/occupy;
  42. #X obj 85 78 r /ds/\$1\$2/transition/in;
  43. #X text 305 821 (c)2013 Marian Weger;
  44. #X obj 124 680 s /ds/\$1\$2/dispatch/start;
  45. #X obj 85 552 kdemux2;
  46. #N canvas 57 153 644 329 copy_paste_settings 0;
  47. #X obj 40 89 r /ds/\$1\$2/settings/paste;
  48. #X obj 308 89 r /ds/\$1\$2/settings/copy;
  49. #X obj 40 141 b;
  50. #X obj 308 111 b;
  51. #X obj 40 168 list append /ds/\$1\$2/occupy;
  52. #X obj 40 220 s /ds/\$1/reg/settings/buffer/occupy/route;
  53. #X obj 308 190 s /ds/\$1\$2/occupy/route;
  54. #X obj 308 138 list append /ds/\$1/reg/settings/buffer/occupy;
  55. #X obj 40 190 list trim;
  56. #X obj 308 160 list trim;
  57. #X obj 50 113 r /ds/\$1/reg/settings/buffer/paste/all;
  58. #X connect 0 0 2 0;
  59. #X connect 1 0 3 0;
  60. #X connect 2 0 4 0;
  61. #X connect 3 0 7 0;
  62. #X connect 4 0 8 0;
  63. #X connect 7 0 9 0;
  64. #X connect 8 0 5 0;
  65. #X connect 9 0 6 0;
  66. #X connect 10 0 2 0;
  67. #X restore 353 126 pd copy_paste_settings;
  68. #N canvas 757 134 354 463 register 0;
  69. #X obj 53 42 ds_reg_settings \$1 \$2/occupy;
  70. #X obj 103 138 r /ds/\$1\$2/busy;
  71. #X obj 103 160 t b f;
  72. #X obj 103 252 s /ds/\$1\$2/occupy/reg/state;
  73. #X obj 53 115 v /ds/\$1\$2/occupy/lock/v;
  74. #X obj 103 193 ||;
  75. #X obj 103 215 == 0;
  76. #X obj 53 90 r \$0-loadbang;
  77. #X connect 1 0 2 0;
  78. #X connect 2 0 5 0;
  79. #X connect 2 1 5 1;
  80. #X connect 4 0 5 0;
  81. #X connect 5 0 6 0;
  82. #X connect 6 0 3 0;
  83. #X connect 7 0 4 0;
  84. #X restore 353 146 pd register;
  85. #N canvas 906 22 285 240 INIT 0;
  86. #X obj 28 24 loadbang;
  87. #X obj 55 68 s /ds/\$1\$2/occupy/reinit;
  88. #X obj 28 46 t b b;
  89. #X obj 28 98 s \$0-loadbang;
  90. #X connect 0 0 2 0;
  91. #X connect 2 0 3 0;
  92. #X connect 2 1 1 0;
  93. #X restore 353 106 pd INIT;
  94. #X obj 85 803 outlet dispatched;
  95. #X obj 104 755 outlet value;
  96. #X obj 85 658 t b a b;
  97. #X text 35 49 (used by ds_reg);
  98. #X text 28 26 ds_transition_occupy <domain> <name>;
  99. #X obj 181 441 v /ds/\$1\$2/occupy/lock/v;
  100. #X obj 146 178 v /ds/\$1/occupy/override/v;
  101. #X obj 200 283 v /ds/\$1/occupy/v;
  102. #X obj 146 519 s /ds/\$1\$2/occupy/state;
  103. #X obj 353 280 r \$0-loadbang;
  104. #X obj 353 302 t b b;
  105. #X connect 0 0 4 0;
  106. #X connect 1 0 20 0;
  107. #X connect 2 0 26 0;
  108. #X connect 2 0 14 1;
  109. #X connect 3 0 2 1;
  110. #X connect 4 0 6 0;
  111. #X connect 5 0 6 1;
  112. #X connect 6 0 2 0;
  113. #X connect 7 0 8 0;
  114. #X connect 7 1 6 2;
  115. #X connect 8 0 4 0;
  116. #X connect 8 1 5 0;
  117. #X connect 9 0 7 0;
  118. #X connect 10 0 5 0;
  119. #X connect 11 0 14 0;
  120. #X connect 14 0 20 0;
  121. #X connect 14 1 1 0;
  122. #X connect 20 0 18 0;
  123. #X connect 20 1 19 0;
  124. #X connect 20 2 13 0;
  125. #X connect 23 0 3 0;
  126. #X connect 24 0 7 0;
  127. #X connect 25 0 5 0;
  128. #X connect 27 0 28 0;
  129. #X connect 28 0 25 0;
  130. #X connect 28 0 24 0;
  131. #X connect 28 1 23 0;