diff options
author | Cyrille Henry <nusmuk@users.sourceforge.net> | 2009-05-08 18:46:27 +0000 |
---|---|---|
committer | Cyrille Henry <nusmuk@users.sourceforge.net> | 2009-05-08 18:46:27 +0000 |
commit | 6b7aca1ebe4c81f4f5c844d2aa392db2336e5847 (patch) | |
tree | cf7f7c62baa7a3e033a2376fa2553db7a747af29 /linear_cue_system | |
parent | 779b45410e8c76b2984d26823e97310c7601b38f (diff) |
this abstractions collection help the organisation of project design
around many diferent step.
i use a lot this kind of system in dance or theater projects.
svn path=/trunk/abstractions/nusmuk/; revision=11303
Diffstat (limited to 'linear_cue_system')
-rw-r--r-- | linear_cue_system/cue-help.pd | 17 | ||||
-rw-r--r-- | linear_cue_system/cue.pd | 144 | ||||
-rw-r--r-- | linear_cue_system/cue_between-help.pd | 51 | ||||
-rw-r--r-- | linear_cue_system/cue_between.pd | 131 | ||||
-rw-r--r-- | linear_cue_system/cue_init-help.pd | 63 | ||||
-rw-r--r-- | linear_cue_system/cue_init.pd | 329 | ||||
-rw-r--r-- | linear_cue_system/cue_sel-help.pd | 48 | ||||
-rw-r--r-- | linear_cue_system/cue_sel.pd | 127 |
8 files changed, 910 insertions, 0 deletions
diff --git a/linear_cue_system/cue-help.pd b/linear_cue_system/cue-help.pd new file mode 100644 index 0000000..08c467d --- /dev/null +++ b/linear_cue_system/cue-help.pd @@ -0,0 +1,17 @@ +#N canvas 319 47 610 278 10; +#X obj 10 22 cue_init cue1; +#X obj 10 163 cue test1a 2000; +#X obj 10 106 cue initialisation; +#X obj 10 182 cue test1; +#X obj 10 125 cue debut; +#X obj 10 144 cue foo 1000; +#X text 242 33 organize whatever in diferent step; +#X text 243 95 cue parametters :; +#X text 261 113 1 : name of the cue; +#X text 261 129 2 : autogo; +#X text 258 146 if not zero \, time before jumpimg to next go; +#X connect 0 0 2 0; +#X connect 1 0 3 0; +#X connect 2 0 4 0; +#X connect 4 0 5 0; +#X connect 5 0 1 0; diff --git a/linear_cue_system/cue.pd b/linear_cue_system/cue.pd new file mode 100644 index 0000000..f5ca02f --- /dev/null +++ b/linear_cue_system/cue.pd @@ -0,0 +1,144 @@ +#N canvas 436 49 996 643 10; +#X obj 27 161 inlet; +#X obj 27 287 value \$0-position; +#X obj 633 389 send; +#X obj 633 328 value \$0-position; +#X msg 633 348 position \$1; +#X obj 206 334 s \$0-name_feedbanck; +#X obj 658 368 r \$0-name_feedbanck; +#X obj 196 642 send; +#X obj 221 621 r \$0-name_feedbanck; +#X text 243 646 autogo ?; +#X obj 27 307 + 1; +#X obj 27 260 t b f; +#X msg 27 334 reorder \$1; +#X obj 27 652 outlet; +#X obj 36 629 r \$0_to_outlet; +#X msg 191 426 name \$1; +#X obj 191 448 s \$0_to_outlet; +#X text 38 243 reorder (float); +#X text 193 243 name (symbol); +#X text 376 245 set_position (float); +#X text 600 236 get_position (bang); +#X obj 378 449 s \$0_to_outlet; +#X msg 378 429 set_position \$1; +#X obj 473 667 outlet; +#X text 472 582 etat actuel :; +#X text 487 600 0 : on est apres le cue selectionné; +#X text 487 617 1 : on est selectionné; +#X text 486 632 2 : on est avant; +#X obj 196 512 value \$0-etat; +#X obj 633 287 value \$0-etat; +#X obj 633 307 sel 1; +#X obj 398 409 s \$0-actualise_etat; +#X obj 264 -41 r \$0-actualise_etat; +#X obj 264 -21 value \$0-etat; +#X obj 264 0 == 1; +#X obj 264 61 tgl 15 0 empty empty empty 17 7 0 10 -204800 -1 -1 0 +1; +#X obj 196 490 r \$0-actualise_etat; +#X obj 378 264 t f b f b; +#X obj 438 288 value \$0-position; +#X obj 464 320 ==; +#X obj 509 320 >; +#X obj 464 341 sel 1; +#X msg 464 362 1; +#X obj 509 342 sel 1; +#X msg 509 363 2; +#X obj 418 387 value \$0-etat; +#X obj 418 340 sel 1; +#X obj 418 318 <; +#X msg 418 361 0; +#X obj 601 441 s \$0_to_outlet; +#X msg 601 421 get_position \$1; +#X obj 617 492 value \$0-position; +#X msg 206 312 symbol \$1-feedback; +#X obj 191 286 symbol; +#X obj 191 263 t a; +#X obj 601 266 t f b; +#X obj 196 553 sel 1; +#X msg 264 41 set \$1; +#X obj 196 573 \$2; +#X msg 196 596 autogo \$1; +#X msg 264 125 set_position \$1; +#X obj 264 106 value \$0-position; +#X obj 264 163 send; +#X obj 289 144 r \$0-name_feedbanck; +#X msg 387 65 1; +#X obj 264 82 sel 1 0; +#X obj 27 186 route reorder name set_position get_position reset_env +; +#X msg 833 419 reset_env; +#X obj 833 442 s \$0_to_outlet; +#X obj 833 238 t b b; +#X msg 865 261 reset_env; +#X obj 264 20 f; +#X connect 0 0 66 0; +#X connect 1 0 10 0; +#X connect 3 0 4 0; +#X connect 4 0 2 0; +#X connect 6 0 2 1; +#X connect 8 0 7 1; +#X connect 10 0 12 0; +#X connect 11 0 1 0; +#X connect 11 1 1 0; +#X connect 12 0 13 0; +#X connect 14 0 13 0; +#X connect 15 0 16 0; +#X connect 22 0 21 0; +#X connect 28 0 23 0; +#X connect 28 0 56 0; +#X connect 29 0 30 0; +#X connect 30 0 3 0; +#X connect 32 0 33 0; +#X connect 33 0 34 0; +#X connect 34 0 71 0; +#X connect 35 0 65 0; +#X connect 36 0 28 0; +#X connect 37 0 22 0; +#X connect 37 1 31 0; +#X connect 37 2 39 0; +#X connect 37 2 40 0; +#X connect 37 2 47 0; +#X connect 37 3 38 0; +#X connect 38 0 39 1; +#X connect 38 0 40 1; +#X connect 38 0 47 1; +#X connect 39 0 41 0; +#X connect 40 0 43 0; +#X connect 41 0 42 0; +#X connect 42 0 45 0; +#X connect 43 0 44 0; +#X connect 44 0 45 0; +#X connect 46 0 48 0; +#X connect 47 0 46 0; +#X connect 48 0 45 0; +#X connect 50 0 49 0; +#X connect 52 0 5 0; +#X connect 53 0 52 0; +#X connect 53 0 15 0; +#X connect 54 0 53 0; +#X connect 55 0 50 0; +#X connect 55 1 29 0; +#X connect 56 0 58 0; +#X connect 57 0 35 0; +#X connect 58 0 59 0; +#X connect 59 0 7 0; +#X connect 60 0 62 0; +#X connect 61 0 60 0; +#X connect 63 0 62 1; +#X connect 64 0 57 0; +#X connect 65 0 61 0; +#X connect 65 1 64 0; +#X connect 65 1 61 0; +#X connect 66 0 11 0; +#X connect 66 1 54 0; +#X connect 66 2 37 0; +#X connect 66 3 55 0; +#X connect 66 4 69 0; +#X connect 67 0 68 0; +#X connect 69 0 67 0; +#X connect 69 1 70 0; +#X connect 70 0 23 0; +#X connect 71 0 57 0; +#X coords 0 -1 1 1 220 17 1 60 60; diff --git a/linear_cue_system/cue_between-help.pd b/linear_cue_system/cue_between-help.pd new file mode 100644 index 0000000..f31dc02 --- /dev/null +++ b/linear_cue_system/cue_between-help.pd @@ -0,0 +1,51 @@ +#N canvas 319 47 771 471 10; +#X obj 10 22 cue_init cue1; +#X obj 10 233 cue test1a 2000; +#X obj 10 176 cue initialisation; +#X obj 10 252 cue test1; +#X obj 10 271 cue test2; +#X obj 10 195 cue debut; +#X obj 10 214 cue foo 1000; +#X obj 245 294 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 0 +1; +#X floatatom 488 295 5 0 0 0 - - -; +#X obj 245 275 cue_between 1000 1000; +#X text 252 135 parametters :; +#X text 252 25 cue between allow to control anything located between +2 diferent cue; +#X text 253 61 inlet 1 : last cue; +#X text 253 77 inlet 2 : 1st cue; +#X text 252 96 outlet 1 : 0/1 if cue is between the 1st and last cue +; +#X text 252 115 outlet 2 : 0..1 : same as outlet 1 \, but with an envelope +; +#X text 281 151 fade in (ms); +#X text 281 167 fade out (ms); +#X obj 10 290 cue test3; +#X obj 247 365 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 0 +1; +#X floatatom 490 366 5 0 0 0 - - -; +#X obj 10 309 cue test4; +#X obj 10 328 cue test5; +#X obj 247 346 cue_between 100 100 4000 2000; +#X text 280 183 delay before fade in; +#X text 279 199 delay before fade out; +#X text 250 220 you can force a on/off state \, and jump to the end +of the fade; +#X connect 0 0 2 0; +#X connect 1 0 3 0; +#X connect 2 0 5 0; +#X connect 3 0 4 0; +#X connect 3 1 9 0; +#X connect 4 0 18 0; +#X connect 5 0 6 0; +#X connect 5 1 9 1; +#X connect 6 0 1 0; +#X connect 9 0 7 0; +#X connect 9 1 8 0; +#X connect 18 0 21 0; +#X connect 18 1 23 1; +#X connect 21 0 22 0; +#X connect 21 1 23 0; +#X connect 23 0 19 0; +#X connect 23 1 20 0; diff --git a/linear_cue_system/cue_between.pd b/linear_cue_system/cue_between.pd new file mode 100644 index 0000000..1b727b0 --- /dev/null +++ b/linear_cue_system/cue_between.pd @@ -0,0 +1,131 @@ +#N canvas 267 131 641 536 10; +#X obj 312 26 inlet; +#X obj 312 49 route float reset_env; +#X obj 312 204 delay \$3; +#X obj 387 204 delay \$4; +#X msg 387 173 stop; +#X obj 396 152 r \$0-reset; +#X obj 312 284 pack f \$1; +#X obj 387 284 pack f \$2; +#X obj 312 323 line; +#X obj 348 252 f; +#X obj 41 62 cnv 1 1 4 empty \$0-potentiomettre empty 20 12 0 14 -1 +-262144 0; +#X obj 21 62 cnv 1 1 4 empty \$0-toggle empty 20 12 0 14 -258699 -66577 +0; +#X obj 344 492 outlet; +#N canvas 0 0 458 547 speedlim 0; +#X obj 45 33 inlet; +#X obj 44 448 outlet; +#X obj 68 124 list; +#X msg 122 272 1; +#X msg 111 102 1; +#X msg 70 273 0; +#X obj 44 214 t a b b; +#X obj 90 350 sel 1; +#X obj 89 378 f; +#X obj 59 402 sel 1; +#X obj 45 68 t a a b; +#X obj 44 162 spigot 1; +#X obj 177 339 f; +#X obj 121 297 t f f; +#X obj 71 298 t f f; +#X obj 121 248 delay 50; +#X connect 0 0 10 0; +#X connect 2 0 11 0; +#X connect 3 0 13 0; +#X connect 4 0 8 1; +#X connect 5 0 14 0; +#X connect 6 0 1 0; +#X connect 6 1 5 0; +#X connect 6 2 15 0; +#X connect 7 0 8 0; +#X connect 8 0 9 0; +#X connect 9 0 2 0; +#X connect 10 0 11 0; +#X connect 10 1 2 1; +#X connect 10 2 4 0; +#X connect 11 0 6 0; +#X connect 12 0 11 1; +#X connect 13 0 7 0; +#X connect 13 1 12 0; +#X connect 14 0 8 1; +#X connect 14 1 12 0; +#X connect 15 0 3 0; +#X restore 409 432 pd speedlim 50; +#X obj 409 492 s \$0-potentiomettre; +#X msg 409 472 vis_size \$1 4; +#X obj 158 491 s \$0-toggle; +#X obj 158 448 * 20; +#X msg 158 471 vis_size \$1 4; +#X obj 312 364 t f f; +#X obj 93 492 outlet; +#X obj 93 403 != 0; +#X obj 312 343 f; +#X obj 312 174 sel 1 0; +#X msg 312 224 1; +#X msg 387 224 0; +#X obj 284 300 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 0 +1; +#X obj 533 26 inlet; +#X obj 533 49 route float; +#X obj 533 98 >= 1; +#X obj 312 96 <= 1; +#X obj 312 127 &; +#X obj 312 151 change -1; +#X text 110 3 cue_between : attack release delay_avant delay_apres +; +#X msg 422 225 stop; +#X obj 248 51 bng 10 250 50 0 empty empty empty 17 7 0 10 -262144 -1 +-1; +#X obj 259 51 tgl 10 0 empty empty empty 17 7 0 10 -4032 -1 -1 0 1 +; +#X msg 259 26 set \$1; +#X msg 371 27 reset_env; +#X obj 409 452 * 229; +#X msg 259 71 set -1 \, \$1; +#X connect 0 0 1 0; +#X connect 1 0 30 0; +#X connect 1 1 4 0; +#X connect 1 1 9 0; +#X connect 2 0 24 0; +#X connect 3 0 25 0; +#X connect 3 0 34 0; +#X connect 4 0 2 0; +#X connect 4 0 3 0; +#X connect 5 0 4 0; +#X connect 6 0 8 0; +#X connect 7 0 8 0; +#X connect 8 0 22 0; +#X connect 9 0 8 0; +#X connect 13 0 39 0; +#X connect 15 0 14 0; +#X connect 17 0 18 0; +#X connect 18 0 16 0; +#X connect 19 0 21 0; +#X connect 19 1 12 0; +#X connect 19 1 13 0; +#X connect 21 0 20 0; +#X connect 21 0 17 0; +#X connect 22 0 19 0; +#X connect 23 0 2 0; +#X connect 23 1 3 0; +#X connect 24 0 6 0; +#X connect 25 0 7 0; +#X connect 26 0 8 0; +#X connect 27 0 28 0; +#X connect 28 0 29 0; +#X connect 29 0 31 1; +#X connect 30 0 31 0; +#X connect 31 0 32 0; +#X connect 31 0 37 0; +#X connect 32 0 23 0; +#X connect 32 0 9 1; +#X connect 34 0 2 0; +#X connect 35 0 38 0; +#X connect 36 0 40 0; +#X connect 37 0 36 0; +#X connect 38 0 1 0; +#X connect 39 0 15 0; +#X connect 40 0 32 0; +#X coords 0 -1 1 1 250 17 1 20 50; diff --git a/linear_cue_system/cue_init-help.pd b/linear_cue_system/cue_init-help.pd new file mode 100644 index 0000000..3cb7de7 --- /dev/null +++ b/linear_cue_system/cue_init-help.pd @@ -0,0 +1,63 @@ +#N canvas 319 47 694 514 10; +#X obj 281 426 cue_between; +#X obj 236 377 cue_sel 3000 1000 10000; +#X obj 235 356 cue_sel 1000 1000 1000 1000; +#X obj 237 302 cue_sel 1000 2000; +#X obj 236 397 cue_sel 30000 1000; +#X obj 10 22 cue_init cue1; +#X obj 281 453 cue_between 1000 1000; +#X obj 10 283 cue test1a 2000; +#X obj 10 435 cue test1; +#X obj 10 226 cue initialisation; +#X obj 10 302 cue test1; +#X obj 10 321 cue test2; +#X obj 10 245 cue debut; +#X obj 10 264 cue foo 1000; +#X obj 10 340 cue bar; +#X obj 10 454 cue test2; +#X obj 10 378 cue debut; +#X obj 10 397 cue foo; +#X obj 10 416 cue test1a; +#X obj 10 359 cue toto; +#X floatatom 480 282 5 0 0 0 - - -; +#X obj 237 325 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 0 +1; +#X text 242 33 organize whatever in diferent step; +#X text 241 59 this system is design to be robust. all the object should +work without initialization.; +#X text 246 98 This system is made to be adapted to specific project. +You really need to fork this system if you plan to use it : it will +change if i find better way to work...; +#X obj 237 245 cue_sel 10000 10000; +#X obj 237 265 cue_sel 100 100; +#X text 34 166 reset env : to jump to the end of a transition; +#X text 33 181 autogo : enable or disable automatic jump to next cue +; +#X text 35 197 key control : use the space bar to jump to next cue +; +#X text 34 149 reset : initialize everything; +#X connect 3 0 21 0; +#X connect 3 1 20 0; +#X connect 5 0 9 0; +#X connect 7 0 10 0; +#X connect 8 0 15 0; +#X connect 8 1 6 0; +#X connect 9 0 12 0; +#X connect 10 0 11 0; +#X connect 10 1 3 0; +#X connect 11 0 14 0; +#X connect 12 0 13 0; +#X connect 12 1 25 0; +#X connect 13 0 7 0; +#X connect 13 1 26 0; +#X connect 14 0 19 0; +#X connect 16 0 17 0; +#X connect 16 1 1 0; +#X connect 16 1 6 1; +#X connect 17 0 18 0; +#X connect 17 1 4 0; +#X connect 17 1 0 0; +#X connect 18 0 8 0; +#X connect 19 0 16 0; +#X connect 19 1 2 0; +#X connect 19 1 0 1; diff --git a/linear_cue_system/cue_init.pd b/linear_cue_system/cue_init.pd new file mode 100644 index 0000000..6a91904 --- /dev/null +++ b/linear_cue_system/cue_init.pd @@ -0,0 +1,329 @@ +#N canvas 47 189 815 497 10; +#X obj 102 214 bng 15 250 50 0 empty empty empty 2 18 0 18 -258699 +-1 -1; +#X obj 195 216 bng 35 250 50 0 empty empty next 0 43 0 18 -24198 -1 +-1; +#X obj 197 270 cnv 1 1 4 empty \$0-potentiomettre empty 20 12 0 14 +-1 -66577 0; +#X obj 197 275 cnv 1 1 4 empty \$0-potentiomettre2 empty 20 12 0 14 +-258699 -66577 0; +#X obj 195 76 key; +#X obj 195 160 spigot 0; +#X obj 102 248 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 1 +1; +#X obj 123 306 bng 15 250 50 0 empty empty empty 17 7 0 10 -44926 -1 +-1; +#X text 117 229 reset env; +#X obj 102 231 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 +-1 -1; +#X text 117 266 key_control; +#X obj 102 265 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 0 +1; +#X text 146 303 go back; +#X floatatom 241 216 5 0 0 0 - - -; +#X floatatom 280 216 5 0 0 0 - - -; +#N canvas 0 22 168 254 time_________ 0; +#X obj 18 18 inlet; +#X obj 18 102 timer; +#X obj 53 79 metro 1000; +#X obj 18 207 outlet; +#X obj 18 126 / 1000; +#X obj 58 156 % 60; +#X obj 18 156 / 60; +#X obj 18 180 i; +#X obj 58 182 outlet; +#X obj 53 49 loadbang; +#X msg 27 72 0; +#X connect 0 0 1 0; +#X connect 0 0 10 0; +#X connect 1 0 4 0; +#X connect 2 0 1 1; +#X connect 4 0 5 0; +#X connect 4 0 6 0; +#X connect 5 0 8 0; +#X connect 6 0 7 0; +#X connect 7 0 3 0; +#X connect 9 0 2 0; +#X connect 10 0 4 0; +#X restore 290 161 pd time_________; +#X floatatom 241 235 5 0 0 0 - - -; +#X floatatom 280 235 5 0 0 0 - - -; +#N canvas 0 22 168 254 time_________ 0; +#X obj 18 18 inlet; +#X obj 18 102 timer; +#X obj 53 79 metro 1000; +#X obj 18 207 outlet; +#X obj 18 126 / 1000; +#X obj 58 156 % 60; +#X obj 18 156 / 60; +#X obj 18 180 i; +#X obj 58 182 outlet; +#X obj 53 49 loadbang; +#X msg 27 72 0; +#X connect 0 0 1 0; +#X connect 0 0 10 0; +#X connect 1 0 4 0; +#X connect 2 0 1 1; +#X connect 4 0 5 0; +#X connect 4 0 6 0; +#X connect 5 0 8 0; +#X connect 6 0 7 0; +#X connect 7 0 3 0; +#X connect 9 0 2 0; +#X connect 10 0 4 0; +#X restore 296 182 pd time_________; +#X text 117 247 autogo; +#X obj 102 98 loadbang; +#X obj 296 116 r \$0-reset; +#X obj -28 190 s \$0-reset; +#N canvas 0 0 450 300 no_key_control 0; +#X obj 18 12 keyname; +#X obj 64 34 sel Control_L; +#X msg 64 55 0; +#X obj 64 79 outlet; +#X obj 187 20 r \$0-reset; +#X msg 187 41 1; +#X connect 0 1 1 0; +#X connect 1 0 2 0; +#X connect 2 0 3 0; +#X connect 4 0 5 0; +#X connect 5 0 3 0; +#X restore -30 261 pd no_key_control; +#X text 121 213 reset; +#N canvas 0 0 450 300 init_autogo 0; +#X obj 30 36 r \$0-reset; +#X msg 30 57 1; +#X obj 30 80 outlet; +#X connect 0 0 1 0; +#X connect 1 0 2 0; +#X restore -30 242 pd init_autogo; +#X obj -27 466 outlet; +#X obj -27 442 r \$0-to_outlet; +#N canvas 675 25 450 300 list 0; +#X msg 80 151 get_position; +#X msg 31 47 reorder 0; +#X msg 90 178 set_position 0; +#X msg 67 127 name \$1-cue_list; +#X obj 69 106 \$0; +#X obj 27 241 s \$0-to_outlet; +#X obj 66 77 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 -1 +-1; +#X connect 0 0 5 0; +#X connect 1 0 5 0; +#X connect 2 0 5 0; +#X connect 3 0 5 0; +#X connect 4 0 3 0; +#X connect 6 0 4 0; +#X restore 471 56 pd list of messages; +#N canvas 226 290 449 300 cue_init 0; +#X obj 27 48 t b b b; +#X obj 27 107 s \$0-to_outlet; +#X msg 27 80 set_position 0; +#X obj 27 21 inlet; +#X connect 0 0 2 0; +#X connect 2 0 1 0; +#X connect 3 0 0 0; +#X restore -5 170 pd cue_init; +#X obj 207 182 r \$0-next; +#X obj 195 97 sel 32; +#N canvas 721 217 434 492 autogo 0; +#X obj 72 466 s \$0-potentiomettre; +#X msg 72 443 vis_size \$1 4; +#X msg 249 454 vis_size \$1 4; +#X obj 249 477 s \$0-potentiomettre2; +#X obj 72 421 * 120; +#X obj 249 432 * 120; +#X msg 72 395 0; +#X obj 72 371 r \$0-reset; +#X obj 171 79 spigot; +#X msg 76 109 stop; +#X obj 76 40 t f f; +#X msg 132 112 0; +#X obj 217 243 delay; +#X obj 217 219 t b f; +#X obj 218 287 s \$0-next; +#X msg 261 328 1; +#X msg 249 304 0; +#X obj 76 17 inlet; +#X obj 171 17 inlet; +#X msg 263 81 0; +#X obj 263 59 r \$0-next; +#X obj 217 154 t f f b; +#X obj 217 264 t b b; +#X obj 76 62 sel 0; +#X obj 171 102 route 0; +#X msg 171 124 0; +#X obj 269 243 line 50; +#X msg 269 220 0 \, 1 \$1; +#X connect 1 0 0 0; +#X connect 2 0 3 0; +#X connect 4 0 1 0; +#X connect 5 0 2 0; +#X connect 6 0 4 0; +#X connect 6 0 5 0; +#X connect 7 0 6 0; +#X connect 8 0 24 0; +#X connect 9 0 12 0; +#X connect 10 0 23 0; +#X connect 10 1 8 1; +#X connect 11 0 26 0; +#X connect 12 0 22 0; +#X connect 13 0 12 0; +#X connect 13 1 12 1; +#X connect 15 0 5 0; +#X connect 16 0 5 0; +#X connect 17 0 10 0; +#X connect 18 0 8 0; +#X connect 19 0 26 0; +#X connect 20 0 19 0; +#X connect 21 0 13 0; +#X connect 21 1 27 0; +#X connect 21 2 15 0; +#X connect 22 0 14 0; +#X connect 22 1 16 0; +#X connect 23 0 9 0; +#X connect 23 0 11 0; +#X connect 23 0 16 0; +#X connect 24 0 25 0; +#X connect 24 1 21 0; +#X connect 25 0 23 0; +#X connect 26 0 4 0; +#X connect 27 0 26 0; +#X restore 488 446 pd autogo; +#X obj 488 424 f; +#X msg 517 423 0; +#X obj 488 400 t b b; +#N canvas 24 96 421 316 goto 0; +#X obj 41 184 route position; +#X obj 23 204 f; +#X obj 46 142 s \$0-to_outlet; +#X obj 23 264 s \$0-to_outlet; +#X msg 23 244 set_position \$1; +#X obj 23 39 inlet; +#X obj 23 60 t b b b; +#X obj 23 224 + 0; +#X obj 148 37 inlet; +#X msg 46 121 get_position; +#X obj 207 289 outlet; +#X obj 41 164 r \$0-\$1-cue_list-feedback; +#X connect 0 0 1 1; +#X connect 1 0 7 0; +#X connect 4 0 3 0; +#X connect 5 0 6 0; +#X connect 6 0 1 0; +#X connect 6 1 9 0; +#X connect 6 2 10 0; +#X connect 7 0 4 0; +#X connect 8 0 7 1; +#X connect 9 0 2 0; +#X connect 11 0 0 0; +#X restore 195 409 pd goto; +#X msg 241 357 1; +#X msg 208 359 -1; +#X obj 195 320 t b b b; +#X obj 125 335 t b b b; +#X msg 626 120 set_position \$1; +#X obj 470 96 route position autogo set_position; +#X obj 626 144 s \$0-to_outlet; +#N canvas 0 0 339 383 reset_env 0; +#X obj 24 26 inlet; +#X obj 24 75 s \$0-to_outlet; +#X msg 24 52 reset_env; +#X obj 85 23 r \$0-reset; +#X connect 0 0 2 0; +#X connect 2 0 1 0; +#X connect 3 0 2 0; +#X restore -30 223 pd reset_env; +#N canvas 165 298 449 300 cue_reorder 0; +#X obj 27 48 t b b b; +#X msg 73 69 reorder 0; +#X obj 73 197 s \$0-to_outlet; +#X obj 27 21 inlet; +#X obj 27 103 \$0; +#X obj 59 104 symbol \$1; +#X obj 27 126 pack f s; +#X msg 27 149 name \$1-\$2-cue_list; +#X connect 0 0 4 0; +#X connect 0 1 5 0; +#X connect 0 2 1 0; +#X connect 1 0 2 0; +#X connect 3 0 0 0; +#X connect 4 0 6 0; +#X connect 5 0 6 1; +#X connect 6 0 7 0; +#X connect 7 0 2 0; +#X restore 18 395 pd cue_reorder; +#X obj 4 362 metro 1000; +#X obj 4 344 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 1 1 +; +#X obj -28 150 t b b b; +#X obj 470 77 r \$0-\$1-cue_list-feedback; +#X obj 4 322 == 0; +#X msg 195 118 bang; +#N canvas 0 0 329 326 debounce 0; +#X obj 45 33 inlet; +#X obj 46 210 outlet; +#X obj 45 67 t b b; +#X obj 45 157 spigot 1; +#X obj 45 183 t b b; +#X obj 141 105 delay 500; +#X msg 141 130 1; +#X msg 98 130 0; +#X connect 0 0 2 0; +#X connect 2 0 3 0; +#X connect 2 1 5 0; +#X connect 3 0 4 0; +#X connect 4 0 1 0; +#X connect 4 1 7 0; +#X connect 5 0 6 0; +#X connect 6 0 3 1; +#X connect 7 0 3 1; +#X restore 195 140 pd debounce 500; +#X connect 0 0 48 0; +#X connect 1 0 18 0; +#X connect 1 0 39 0; +#X connect 4 0 31 0; +#X connect 5 0 1 0; +#X connect 6 0 33 0; +#X connect 7 0 40 0; +#X connect 9 0 44 0; +#X connect 11 0 5 1; +#X connect 11 0 50 0; +#X connect 15 0 13 0; +#X connect 15 1 14 0; +#X connect 18 0 16 0; +#X connect 18 1 17 0; +#X connect 20 0 0 0; +#X connect 21 0 15 0; +#X connect 21 0 18 0; +#X connect 23 0 11 0; +#X connect 25 0 6 0; +#X connect 27 0 26 0; +#X connect 30 0 1 0; +#X connect 31 0 51 0; +#X connect 33 0 32 0; +#X connect 34 0 32 0; +#X connect 35 0 33 0; +#X connect 35 1 34 0; +#X connect 36 0 45 0; +#X connect 37 0 36 1; +#X connect 38 0 36 1; +#X connect 39 0 36 0; +#X connect 39 1 37 0; +#X connect 39 2 35 0; +#X connect 40 0 36 0; +#X connect 40 1 38 0; +#X connect 40 2 35 0; +#X connect 41 0 43 0; +#X connect 42 1 32 1; +#X connect 42 2 41 0; +#X connect 46 0 45 0; +#X connect 47 0 46 0; +#X connect 48 0 22 0; +#X connect 48 1 29 0; +#X connect 48 2 45 0; +#X connect 49 0 42 0; +#X connect 50 0 47 0; +#X connect 51 0 52 0; +#X connect 52 0 5 0; +#X coords 0 -1 1 1 220 82 1 100 200; diff --git a/linear_cue_system/cue_sel-help.pd b/linear_cue_system/cue_sel-help.pd new file mode 100644 index 0000000..88f136b --- /dev/null +++ b/linear_cue_system/cue_sel-help.pd @@ -0,0 +1,48 @@ +#N canvas 319 47 771 471 10; +#X obj 10 22 cue_init cue1; +#X obj 10 233 cue test1a 2000; +#X obj 10 176 cue initialisation; +#X obj 10 252 cue test1; +#X obj 10 271 cue test2; +#X obj 10 195 cue debut; +#X obj 10 214 cue foo 1000; +#X obj 248 272 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 1 +1; +#X floatatom 491 273 5 0 0 0 - - -; +#X text 252 135 parametters :; +#X text 252 96 outlet 1 : 0/1 if cue is between the 1st and last cue +; +#X text 252 115 outlet 2 : 0..1 : same as outlet 1 \, but with an envelope +; +#X text 281 151 fade in (ms); +#X text 281 167 fade out (ms); +#X obj 10 290 cue test3; +#X obj 248 328 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 0 +1; +#X floatatom 491 329 5 0 0 0 - - -; +#X obj 10 309 cue test4; +#X obj 10 328 cue test5; +#X text 280 183 delay before fade in; +#X text 279 199 delay before fade out; +#X text 252 25 cue_sel allow to control anything located in a specific +cue; +#X text 253 61 inlet 1 : cue; +#X obj 248 309 cue_sel 100 100 2000 2000; +#X obj 248 253 cue_sel 1000 1000; +#X text 250 220 you can force a on/off state \, and jump to the end +of the fade; +#X connect 0 0 2 0; +#X connect 1 0 3 0; +#X connect 2 0 5 0; +#X connect 3 0 4 0; +#X connect 3 1 24 0; +#X connect 4 0 14 0; +#X connect 5 0 6 0; +#X connect 6 0 1 0; +#X connect 14 0 17 0; +#X connect 17 0 18 0; +#X connect 17 1 23 0; +#X connect 23 0 15 0; +#X connect 23 1 16 0; +#X connect 24 0 7 0; +#X connect 24 1 8 0; diff --git a/linear_cue_system/cue_sel.pd b/linear_cue_system/cue_sel.pd new file mode 100644 index 0000000..bfd4233 --- /dev/null +++ b/linear_cue_system/cue_sel.pd @@ -0,0 +1,127 @@ +#N canvas 471 106 580 486 10; +#X obj 314 27 inlet; +#X obj 314 50 route float reset_env; +#X obj 314 107 change -1; +#X obj 314 214 delay \$3; +#X obj 389 214 delay \$4; +#X msg 389 183 stop; +#X obj 398 132 r \$0-reset; +#X obj 314 264 pack f \$1; +#X obj 389 264 pack f \$2; +#X obj 314 303 line; +#X obj 314 158 f; +#X obj 41 62 cnv 1 1 4 empty \$0-potentiomettre empty 20 12 0 14 -1 +-262144 0; +#X obj 21 62 cnv 1 1 4 empty \$0-toggle empty 20 12 0 14 -258699 -66577 +0; +#X obj 346 472 outlet; +#N canvas 0 0 458 547 speedlim 0; +#X obj 45 33 inlet; +#X obj 44 448 outlet; +#X obj 68 124 list; +#X msg 122 272 1; +#X msg 111 102 1; +#X msg 70 273 0; +#X obj 44 214 t a b b; +#X obj 90 350 sel 1; +#X obj 89 378 f; +#X obj 59 402 sel 1; +#X obj 45 68 t a a b; +#X obj 44 162 spigot 1; +#X obj 177 339 f; +#X obj 121 297 t f f; +#X obj 71 298 t f f; +#X obj 121 248 delay 50; +#X connect 0 0 10 0; +#X connect 2 0 11 0; +#X connect 3 0 13 0; +#X connect 4 0 8 1; +#X connect 5 0 14 0; +#X connect 6 0 1 0; +#X connect 6 1 5 0; +#X connect 6 2 15 0; +#X connect 7 0 8 0; +#X connect 8 0 9 0; +#X connect 9 0 2 0; +#X connect 10 0 11 0; +#X connect 10 1 2 1; +#X connect 10 2 4 0; +#X connect 11 0 6 0; +#X connect 12 0 11 1; +#X connect 13 0 7 0; +#X connect 13 1 12 0; +#X connect 14 0 8 1; +#X connect 14 1 12 0; +#X connect 15 0 3 0; +#X restore 411 412 pd speedlim 50; +#X obj 411 472 s \$0-potentiomettre; +#X msg 411 452 vis_size \$1 4; +#X obj 160 471 s \$0-toggle; +#X obj 160 428 * 20; +#X msg 160 451 vis_size \$1 4; +#X obj 314 344 t f f; +#X obj 95 472 outlet; +#X obj 314 131 == 1; +#X obj 95 383 != 0; +#X obj 314 323 f; +#X obj 314 186 sel 1 0; +#X msg 314 234 1; +#X msg 389 234 0; +#X obj 286 280 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 0 +1; +#X text 80 3 cue_sel : attack release delay_avant delay_apres; +#X msg 423 234 stop; +#X obj 248 51 bng 10 250 50 0 empty empty empty 17 7 0 10 -262144 -1 +-1; +#X obj 259 51 tgl 10 0 empty empty empty 17 7 0 10 -4032 -1 -1 0 1 +; +#X msg 259 26 set \$1; +#X msg 371 27 reset_env; +#X obj 411 432 * 229; +#X obj 282 186 f; +#X msg 349 235 stop; +#X msg 259 74 set -1 \, \$1; +#X connect 0 0 1 0; +#X connect 1 0 2 0; +#X connect 1 1 5 0; +#X connect 1 1 36 0; +#X connect 2 0 22 0; +#X connect 3 0 26 0; +#X connect 3 0 37 0; +#X connect 4 0 27 0; +#X connect 4 0 30 0; +#X connect 5 0 3 0; +#X connect 5 0 4 0; +#X connect 6 0 5 0; +#X connect 7 0 9 0; +#X connect 8 0 9 0; +#X connect 9 0 24 0; +#X connect 10 0 25 0; +#X connect 10 0 36 1; +#X connect 14 0 35 0; +#X connect 16 0 15 0; +#X connect 18 0 19 0; +#X connect 19 0 17 0; +#X connect 20 0 23 0; +#X connect 20 1 13 0; +#X connect 20 1 14 0; +#X connect 22 0 33 0; +#X connect 22 0 10 0; +#X connect 23 0 21 0; +#X connect 23 0 18 0; +#X connect 24 0 20 0; +#X connect 25 0 3 0; +#X connect 25 1 4 0; +#X connect 26 0 7 0; +#X connect 27 0 8 0; +#X connect 28 0 9 0; +#X connect 30 0 3 0; +#X connect 31 0 34 0; +#X connect 32 0 38 0; +#X connect 33 0 32 0; +#X connect 34 0 1 0; +#X connect 35 0 16 0; +#X connect 36 0 9 0; +#X connect 37 0 4 0; +#X connect 38 0 2 0; +#X coords 0 -1 1 1 250 17 1 20 50; |