stepperCue.pd 7.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258
  1. #N canvas 518 55 1401 947 10;
  2. #X obj 102 252 cnv 15 356 41 /stepper/\$1/cue/\$2/canvas /stepper/\$1/cue/\$2/canvas
  3. empty 48 8 0 14 -44926 -44926 0;
  4. #X obj 104 160 tof/menubutton 100 25 \$0-mbS \$0-mbR 1 grey90 black
  5. grey95 black 0 \, none \, test (autre copie).move \, test.move \, test (3e copie).move
  6. \, test (4e copie).move \, test (copie).move;
  7. #X obj 206 21 r /stepper/\$1/sequences/list;
  8. #X obj 174 260 bng 25 250 50 0 /stepper/\$1/cue/\$2/move/go /stepper/\$1/cue/\$2/move/go
  9. GO 6 13 0 10 -4034 -1 -1;
  10. #X obj 427 258 tgl 10 0 /stepper/\$1/cue/\$2/accMode empty 0/1 15 5
  11. 0 8 -262144 -1 -1 0 1;
  12. #X obj 205 271 nbx 4 14 -1e+37 1e+37 0 0 /stepper/\$1/cue/\$2/move
  13. /stepper/\$1/cue/\$2/move tours 0 -8 0 10 -262144 -1 -1 0.0555556 256
  14. ;
  15. #X obj 340 271 nbx 4 14 -1e+37 1e+37 0 0 /stepper/\$1/cue/\$2/setMaxSpeed
  16. /stepper/\$1/cue/\$2/setMaxSpeed speed 0 -8 0 10 -262144 -1 -1 1 256
  17. ;
  18. #X obj 392 271 nbx 4 14 -1e+37 1e+37 0 0 /stepper/\$1/cue/\$2/acceleration
  19. /stepper/\$1/cue/\$2/acceleration acc 0 -8 0 10 -233017 -233017 -195568
  20. 0 256;
  21. #X obj 320 55 r /stepper/\$1/accMode;
  22. #X obj 320 76 route 0 1;
  23. #X msg 320 95 color 10 10 20;
  24. #X msg 345 116 color 0 22 22;
  25. #X msg 219 106 color 10 10 20;
  26. #X msg 228 123 color 14 14 14;
  27. #X obj 248 32 loadbang;
  28. #X obj 403 176 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144
  29. -1 -1;
  30. #N canvas 1065 317 450 300 \$0-osc 0;
  31. #X obj 47 33 kollabs/osc_bi \$2 /stepper/\$1/cue/\$2/accMode;
  32. #X obj 47 103 kollabs/osc_bi \$2 /stepper/\$1/cue/\$2/move;
  33. #X obj 47 183 kollabs/osc_bi \$2 /stepper/\$1/cue/\$2/setSpeed;
  34. #X obj 47 203 kollabs/osc_bi \$2 /stepper/\$1/cue/\$2/setMaxSpeed;
  35. #X obj 47 223 kollabs/osc_bi \$2 /stepper/\$1/cue/\$2/acceleration
  36. ;
  37. #X obj 47 123 kollabs/osc_bi \$2 /stepper/\$1/cue/\$2/move/deg;
  38. #X restore 43 31 pd \$0-osc;
  39. #X obj 151 558 r /stepper/\$1/cue/\$2/move;
  40. #X obj 66 318 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 -1
  41. -1;
  42. #X obj 66 339 f \$2;
  43. #X obj 66 429 t b f;
  44. #X obj 106 499 t b f;
  45. #X obj 133 519 + 1;
  46. #X obj 66 934 text set \$1-seq;
  47. #X msg 66 470 list CUE \$1;
  48. #X obj 106 578 pack s f;
  49. #X obj 151 603 t b f;
  50. #X obj 151 682 pack s f;
  51. #X obj 178 623 + 2;
  52. #X obj 196 662 r /stepper/\$1/cue/\$2/setMaxSpeed;
  53. #X obj 196 709 t b f;
  54. #X obj 196 788 pack s f;
  55. #X obj 356 501 t b f;
  56. #X obj 356 580 pack s f;
  57. #X obj 223 729 + 3;
  58. #X obj 383 521 + 4;
  59. #X obj 504 808 t b f;
  60. #X obj 90 308 r /stepper/\$1/writeSeq;
  61. #X obj 241 768 r /stepper/\$1/cue/\$2/acceleration;
  62. #X obj 401 560 r /stepper/\$1/cue/\$2/accMode;
  63. #X obj 66 381 + 2;
  64. #X text 835 413 MOVE DEGRES CONVERSION;
  65. #X obj 255 271 nbx 4 14 -1e+37 1e+37 0 0 /stepper/\$1/cue/\$2/move/deg
  66. /stepper/\$1/cue/\$2/move/deg deg 48 8 0 10 -262144 -1 -1 20 256;
  67. #X obj 251 166 route 0 1;
  68. #X msg 251 185 color 10 10 20;
  69. #X msg 276 206 color 0 22 22;
  70. #X obj 251 145 r /stepper/\$1/cue/\$2/accMode;
  71. #X obj 1080 403 r /stepper/\$1/cue/current;
  72. #X obj 1080 424 == \$2;
  73. #X obj 1080 610 s /stepper/\$1/cue/\$2/canvas;
  74. #X msg 1080 546 color 10 10 20;
  75. #X obj 1100 484 t b f;
  76. #X obj 1080 525 route 0 1 2;
  77. #X msg 1088 674 color \$1 \$1 \$1;
  78. #X floatatom 1093 652 5 0 0 0 - - -, f 5;
  79. #X msg 1090 566 color 7 7 7;
  80. #X msg 1100 586 color 17 17 17;
  81. #X obj 924 744 f \$2;
  82. #X obj 66 450 f \$2;
  83. #X obj 924 765 s /stepper/\$1/cue/current;
  84. #X obj 105 257 tgl 15 0 /stepper/\$1/cue/\$2/active /stepper/\$1/cue/\$2/active
  85. active 18 8 0 10 -262144 -1 -1 1 1;
  86. #X obj 1100 463 r /stepper/\$1/cue/\$2/active;
  87. #X obj 924 723 r /stepper/\$1/cue/\$2/select;
  88. #X obj 45 275 bng 15 250 50 0 /stepper/\$1/cue/\$2/select /stepper/\$1/cue/\$2/select
  89. select 17 7 0 10 -262144 -1 -1;
  90. #X obj 1080 445 + 1;
  91. #X obj 917 125 f \$1;
  92. #X obj 758 25 r /stepper/\$1/cue/\$2/move/go;
  93. #X obj 1029 40 r /stepper/\$1/cue/\$2/move;
  94. #X obj 1049 60 r /stepper/\$1/cue/\$2/setMaxSpeed;
  95. #X obj 1083 88 r /stepper/\$1/cue/\$2/acceleration;
  96. #X obj 1104 114 r /stepper/\$1/cue/\$2/accMode;
  97. #X obj 1194 553 loadbang;
  98. #X obj 416 586 t b f;
  99. #X obj 416 665 pack s f;
  100. #X obj 443 606 + 5;
  101. #X obj 461 645 r /stepper/\$1/cue/\$2/active;
  102. #X obj 1080 503 * 0;
  103. #X obj 940 702 r /stepper/\$1/cue/\$2/move/go;
  104. #X obj 837 637 / 360;
  105. #X obj 818 597 t b f b;
  106. #X msg 858 616 0;
  107. #X msg 818 617 1;
  108. #X obj 837 517 * 360;
  109. #X obj 818 476 t b f b;
  110. #X msg 858 494 0;
  111. #X msg 818 495 1;
  112. #X obj 818 436 r /stepper/\$1/cue/\$2/move;
  113. #X obj 837 536 s /stepper/\$1/cue/\$2/move/deg;
  114. #X obj 818 556 r /stepper/\$1/cue/\$2/move/deg;
  115. #X obj 837 656 s /stepper/\$1/cue/\$2/move;
  116. #X obj 818 458 spigot 1;
  117. #X obj 818 577 spigot 1;
  118. #X obj 791 61 r /stepper/\$1/cue/\$2/active;
  119. #X obj 757 103 f;
  120. #X obj 740 190 s /stepper/\$1/cue/next;
  121. #X obj 757 124 route 0 1;
  122. #X obj 106 538 symbol move;
  123. #X obj 151 642 symbol setMaxSpeed;
  124. #X obj 196 748 symbol acceleration;
  125. #X obj 356 540 symbol accMode;
  126. #X obj 416 625 symbol active;
  127. #X obj 106 275 nbx 3 14 0 300 0 0 /stepper/\$1/cue/\$2/wait /stepper/\$1/cue/\$2/wait
  128. wait 40 8 0 10 -262144 -1 -1 0 256;
  129. #X obj 926 185 pack f f f f f f;
  130. #X obj 1122 139 r /stepper/\$1/cue/\$2/wait;
  131. #X msg 925 207 \; /stepper/\$1/move \$2 \; /stepper/\$1/setMaxSpeed
  132. \$3 \; /stepper/\$1/acceleration \$4 \; /stepper/\$1/accMode \$5 \;
  133. \; /stepper/\$1/sequencer/wait \$6 \; /stepper/\$1/move/go bang;
  134. #X obj 484 666 t b f;
  135. #X obj 484 745 pack s f;
  136. #X obj 511 686 + 6;
  137. #X obj 66 402 t f f f f f f f f;
  138. #X obj 531 828 + 7;
  139. #X obj 529 725 r /stepper/\$1/cue/\$2/wait;
  140. #X obj 484 705 symbol wait;
  141. #X obj 66 360 * 8;
  142. #X connect 2 0 1 0;
  143. #X connect 3 0 13 0;
  144. #X connect 8 0 9 0;
  145. #X connect 9 0 10 0;
  146. #X connect 9 1 11 0;
  147. #X connect 14 0 12 0;
  148. #X connect 14 0 4 0;
  149. #X connect 17 0 25 1;
  150. #X connect 18 0 19 0;
  151. #X connect 19 0 112 0;
  152. #X connect 20 0 58 0;
  153. #X connect 20 1 23 1;
  154. #X connect 21 0 96 0;
  155. #X connect 21 1 22 0;
  156. #X connect 22 0 23 1;
  157. #X connect 24 0 23 0;
  158. #X connect 25 0 23 0;
  159. #X connect 26 0 97 0;
  160. #X connect 26 1 28 0;
  161. #X connect 27 0 23 0;
  162. #X connect 28 0 23 1;
  163. #X connect 29 0 27 1;
  164. #X connect 30 0 98 0;
  165. #X connect 30 1 34 0;
  166. #X connect 31 0 23 0;
  167. #X connect 32 0 99 0;
  168. #X connect 32 1 35 0;
  169. #X connect 33 0 23 0;
  170. #X connect 34 0 23 1;
  171. #X connect 35 0 23 1;
  172. #X connect 36 0 23 0;
  173. #X connect 36 1 109 0;
  174. #X connect 37 0 19 0;
  175. #X connect 38 0 31 1;
  176. #X connect 39 0 33 1;
  177. #X connect 40 0 108 0;
  178. #X connect 43 0 44 0;
  179. #X connect 43 1 45 0;
  180. #X connect 44 0 7 0;
  181. #X connect 45 0 7 0;
  182. #X connect 46 0 43 0;
  183. #X connect 47 0 48 0;
  184. #X connect 48 0 64 0;
  185. #X connect 50 0 49 0;
  186. #X connect 51 0 64 0;
  187. #X connect 51 1 76 1;
  188. #X connect 52 0 50 0;
  189. #X connect 52 1 55 0;
  190. #X connect 52 2 56 0;
  191. #X connect 53 0 49 0;
  192. #X connect 54 0 53 0;
  193. #X connect 55 0 49 0;
  194. #X connect 56 0 49 0;
  195. #X connect 57 0 59 0;
  196. #X connect 58 0 24 0;
  197. #X connect 61 0 51 0;
  198. #X connect 62 0 57 0;
  199. #X connect 64 0 76 0;
  200. #X connect 65 0 102 0;
  201. #X connect 66 0 93 0;
  202. #X connect 67 0 102 1;
  203. #X connect 68 0 102 2;
  204. #X connect 69 0 102 3;
  205. #X connect 70 0 102 4;
  206. #X connect 71 0 50 0;
  207. #X connect 72 0 100 0;
  208. #X connect 72 1 74 0;
  209. #X connect 73 0 23 0;
  210. #X connect 74 0 23 1;
  211. #X connect 75 0 73 1;
  212. #X connect 76 0 52 0;
  213. #X connect 77 0 57 0;
  214. #X connect 78 0 89 0;
  215. #X connect 79 0 81 0;
  216. #X connect 79 1 78 0;
  217. #X connect 79 2 80 0;
  218. #X connect 80 0 90 1;
  219. #X connect 81 0 90 1;
  220. #X connect 82 0 87 0;
  221. #X connect 83 0 85 0;
  222. #X connect 83 1 82 0;
  223. #X connect 83 2 84 0;
  224. #X connect 84 0 91 1;
  225. #X connect 85 0 91 1;
  226. #X connect 86 0 90 0;
  227. #X connect 88 0 91 0;
  228. #X connect 90 0 83 0;
  229. #X connect 91 0 79 0;
  230. #X connect 92 0 93 1;
  231. #X connect 93 0 95 0;
  232. #X connect 95 0 94 0;
  233. #X connect 95 1 65 0;
  234. #X connect 96 0 25 0;
  235. #X connect 97 0 27 0;
  236. #X connect 98 0 31 0;
  237. #X connect 99 0 33 0;
  238. #X connect 100 0 73 0;
  239. #X connect 102 0 104 0;
  240. #X connect 103 0 102 5;
  241. #X connect 105 0 111 0;
  242. #X connect 105 1 107 0;
  243. #X connect 106 0 23 0;
  244. #X connect 107 0 23 1;
  245. #X connect 108 0 20 0;
  246. #X connect 108 1 21 0;
  247. #X connect 108 2 26 0;
  248. #X connect 108 3 30 0;
  249. #X connect 108 4 32 0;
  250. #X connect 108 5 72 0;
  251. #X connect 108 6 105 0;
  252. #X connect 108 7 36 0;
  253. #X connect 109 0 23 1;
  254. #X connect 110 0 106 1;
  255. #X connect 111 0 106 0;
  256. #X connect 112 0 40 0;
  257. #X coords 0 -1 1 1 360 45 1 100 250;