ds_transition.pd 6.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200
  1. #N canvas 17 187 335 286 10;
  2. #X text 37 22 ds_transition <domain>;
  3. #N canvas 701 228 451 438 register_settings_buffer 0;
  4. #X obj -565 257 fadecurve /ds/\$1/reg/settings/buffer/morph/curve 128
  5. 0;
  6. #X obj -565 47 ds_reg_global \$1 /reg/settings/buffer/slave;
  7. #X obj -565 67 ds_reg_global \$1 /reg/settings/buffer/delay;
  8. #X obj -565 87 ds_reg_global \$1 /reg/settings/buffer/morph;
  9. #X obj -565 107 ds_reg_global \$1 /reg/settings/buffer/morph/time;
  10. #X obj -565 127 ds_reg_global \$1 /reg/settings/buffer/morph/timegrain
  11. ;
  12. #X obj -565 147 ds_reg_global \$1 /reg/settings/buffer/morph/curve/shape
  13. ;
  14. #X obj -565 167 ds_reg_global \$1 /reg/settings/buffer/morph/curve/weight
  15. ;
  16. #X obj -565 187 ds_reg_global \$1 /reg/settings/buffer/morph/curve/quality
  17. ;
  18. #X obj -565 207 ds_reg_global \$1 /reg/settings/buffer/morph/curve/resolution
  19. ;
  20. #X obj -565 227 ds_reg_global \$1 /reg/settings/buffer/occupy;
  21. #X restore 56 131 pd register_settings_buffer;
  22. #N canvas 438 22 532 526 init 1;
  23. #X obj 142 16 loadbang;
  24. #X obj 299 122 list prepend \$1;
  25. #X obj 245 478 r /ds/\$1/transition/check/question;
  26. #X obj 142 597 s /ds/\$1/transition/check/answer;
  27. #X msg 299 152 \; /ds/\$1/store/settings/state 1 \; /ds/\$1/recall/settings/state
  28. 1 \; /ds/\$1/transition/state 1 \; /ds/\$1/occupy 1 \; /ds/\$1/morph
  29. 1 \; /ds/\$1/occupy/override 0 \; /ds/\$1/slave 1 \; /ds/\$1/delay
  30. 1 \; /ds/\$1/reg/settings/buffer/slave 0 \; /ds/\$1/reg/settings/buffer/delay
  31. 0 \; /ds/\$1/reg/settings/buffer/morph 0 \; /ds/\$1/reg/settings/buffer/morph/time
  32. 0 \; /ds/\$1/reg/settings/buffer/morph/timegrain 20 \; /ds/\$1/reg/settings/buffer/morph/curve/shape
  33. 0 \; /ds/\$1/reg/settings/buffer/morph/curve/weight 0 \; /ds/\$1/reg/settings/buffer/morph/curve/quality
  34. 0 \; /ds/\$1/reg/settings/buffer/morph/curve/resolution 128 \; /ds/\$1/reg/settings/buffer/occupy
  35. 0 \; /ds/\$1/transition/busy 0 \; /ds/\$1/transition/paused 0 \;;
  36. #X obj 142 440 del 100;
  37. #N canvas 80 22 899 619 FLAGS 0;
  38. #X obj 70 109 list split 1;
  39. #X obj 104 131 t l;
  40. #X obj 70 156 list trim;
  41. #X obj 70 53 inlet bang;
  42. #X obj 70 85 list prepend \$15 \$14 \$13 \$12 \$11 \$10 \$9 \$8 \$7
  43. \$6 \$5 \$4 \$3 \$2;
  44. #X obj 451 268 b;
  45. #X obj 451 472 s \$0-module-loader;
  46. #X obj 451 344 spigot;
  47. #X obj 214 330 b;
  48. #X msg 484 322 1;
  49. #X msg 504 350 0;
  50. #X obj 451 290 list prepend \$1;
  51. #X obj 451 388 list prepend osc \$1;
  52. #X obj 451 366 t a b;
  53. #X obj 70 179 route float osc;
  54. #X connect 0 0 2 0;
  55. #X connect 0 1 1 0;
  56. #X connect 1 0 0 0;
  57. #X connect 2 0 14 0;
  58. #X connect 3 0 4 0;
  59. #X connect 4 0 0 0;
  60. #X connect 5 0 11 0;
  61. #X connect 7 0 13 0;
  62. #X connect 8 0 9 0;
  63. #X connect 9 0 7 1;
  64. #X connect 10 0 7 1;
  65. #X connect 11 0 7 0;
  66. #X connect 12 0 6 0;
  67. #X connect 13 0 12 0;
  68. #X connect 13 1 10 0;
  69. #X connect 14 0 5 0;
  70. #X connect 14 1 8 0;
  71. #X connect 14 2 7 0;
  72. #X restore 170 239 pd FLAGS;
  73. #N canvas 655 79 611 540 MODULE_LOADER 0;
  74. #X msg 467 493 clear;
  75. #X obj 181 353 * 20;
  76. #X obj 181 375 + 30;
  77. #X obj 181 326 + 1;
  78. #X msg 266 252 0;
  79. #X obj 74 97 r \$0-module-loader;
  80. #X obj 467 574 s pd-\$0-modules;
  81. #X obj 93 252 t a a b;
  82. #X obj 112 400 list prepend;
  83. #X obj 112 462 t b l;
  84. #X msg 112 529 loadbang;
  85. #X obj 247 133 t b b b;
  86. #X msg 163 186 0;
  87. #X msg 114 186 1;
  88. #X obj 163 219 s /ds/\$1/dsp;
  89. #X obj 74 145 t b a b;
  90. #X obj 247 101 inlet bang;
  91. #X obj 112 433 list append 0 0 0 0 0 0 0 0 0;
  92. #X msg 139 493 obj 30 \$1 ds_transition_\$2 \$3 \$4 \$5 \$6 \$7 \$8
  93. \$9;
  94. #X obj 132 302 f;
  95. #X connect 0 0 6 0;
  96. #X connect 1 0 2 0;
  97. #X connect 2 0 8 1;
  98. #X connect 3 0 1 0;
  99. #X connect 3 0 19 1;
  100. #X connect 4 0 19 1;
  101. #X connect 5 0 15 0;
  102. #X connect 7 1 8 0;
  103. #X connect 7 2 19 0;
  104. #X connect 8 0 17 0;
  105. #X connect 9 0 10 0;
  106. #X connect 9 1 18 0;
  107. #X connect 10 0 6 0;
  108. #X connect 11 0 13 0;
  109. #X connect 11 1 4 0;
  110. #X connect 11 1 0 0;
  111. #X connect 11 2 12 0;
  112. #X connect 12 0 14 0;
  113. #X connect 13 0 14 0;
  114. #X connect 15 0 13 0;
  115. #X connect 15 1 7 0;
  116. #X connect 15 2 12 0;
  117. #X connect 16 0 11 0;
  118. #X connect 17 0 9 0;
  119. #X connect 18 0 6 0;
  120. #X connect 19 0 3 0;
  121. #X restore 187 215 pd MODULE_LOADER;
  122. #X obj 142 78 t b b b b;
  123. #X obj 325 96 s /ds/\$1/print;
  124. #X msg 325 74 ERROR [ds_transition] multiply defined!;
  125. #X obj 142 44 loadonce /ds/\$1/transition/init;
  126. #X obj 245 532 s;
  127. #X obj 245 502 t b s;
  128. #X connect 0 0 11 0;
  129. #X connect 1 0 4 0;
  130. #X connect 2 0 13 0;
  131. #X connect 5 0 3 0;
  132. #X connect 8 0 5 0;
  133. #X connect 8 1 6 0;
  134. #X connect 8 2 7 0;
  135. #X connect 8 3 1 0;
  136. #X connect 10 0 9 0;
  137. #X connect 11 0 8 0;
  138. #X connect 11 1 10 0;
  139. #X connect 13 0 12 0;
  140. #X connect 13 1 12 1;
  141. #X restore 56 91 pd init;
  142. #N canvas 322 375 450 300 register 0;
  143. #X obj 94 98 ds_reg_global \$1 /occupy;
  144. #X obj 94 118 ds_reg_global \$1 /occupy/override;
  145. #X obj 94 138 ds_reg_global \$1 /morph;
  146. #X obj 94 158 ds_reg_global \$1 /delay;
  147. #X obj 94 178 ds_reg_global \$1 /slave;
  148. #X obj 94 48 ds_reg_global \$1 /recall/settings/state;
  149. #X obj 94 68 ds_reg_global \$1 /store/settings/state;
  150. #X obj 94 28 ds_reg_global \$1 /transition/state;
  151. #X restore 56 111 pd register;
  152. #X text 42 207 (c)2013 Marian Weger;
  153. #N canvas 356 22 409 552 transition_busy 0;
  154. #X obj 41 188 f;
  155. #X obj 81 188 + 1;
  156. #X msg 81 157 1;
  157. #X obj 41 81 r /ds/\$1/dispatched;
  158. #X obj 41 307 s /ds/\$1/transition/busy;
  159. #X obj 41 242 <;
  160. #X obj 41 284 change;
  161. #X obj 81 105 r /ds/\$1/recall/start;
  162. #X obj 56 220 r /ds/\$1/recall/quantity;
  163. #X msg 225 220 set 0;
  164. #X obj 26 352 r /ds/\$1/transition/stop;
  165. #X obj 26 418 spigot;
  166. #X obj 26 440 b;
  167. #X obj 220 352 r /ds/\$1/transition/resume;
  168. #X obj 220 440 b;
  169. #X obj 59 375 r /ds/\$1/transition/busy;
  170. #X msg 26 462 1;
  171. #X obj 26 504 s /ds/\$1/transition/paused;
  172. #X msg 220 462 0;
  173. #X obj 69 397 sel 0;
  174. #X obj 81 127 t b b;
  175. #X connect 0 0 1 0;
  176. #X connect 0 0 5 0;
  177. #X connect 1 0 0 1;
  178. #X connect 2 0 0 1;
  179. #X connect 3 0 0 0;
  180. #X connect 5 0 6 0;
  181. #X connect 6 0 4 0;
  182. #X connect 7 0 20 0;
  183. #X connect 8 0 5 1;
  184. #X connect 9 0 6 0;
  185. #X connect 10 0 11 0;
  186. #X connect 11 0 12 0;
  187. #X connect 12 0 16 0;
  188. #X connect 13 0 14 0;
  189. #X connect 14 0 18 0;
  190. #X connect 15 0 11 1;
  191. #X connect 15 0 19 0;
  192. #X connect 16 0 17 0;
  193. #X connect 18 0 17 0;
  194. #X connect 19 0 14 0;
  195. #X connect 20 0 2 0;
  196. #X connect 20 1 9 0;
  197. #X restore 56 151 pd transition_busy;
  198. #N canvas 0 22 450 300 \$0-modules 0;
  199. #X restore 56 171 pd \$0-modules;