#N canvas 117 78 668 520 10;
#N canvas 373 51 762 694 morph 0;
#X obj 215 68 inlet;
#X obj 153 780 outlet;
#X obj 272 50 * 1000;
#X obj 239 780 outlet;
#X obj 272 28 r /ds/\$1\$2/morph/time;
#X obj 215 90 t b f;
#X obj 153 504 sel 1;
#X obj 257 134 f 0;
#X msg 257 374 set 0 \, 1 \$1;
#X obj 257 433 line;
#X obj 284 570 r \$2;
#X obj 284 591 route float;
#X obj 254 659 - 0;
#X obj 239 681 *;
#X obj 239 723 + 0;
#X obj 269 636 t f f;
#X obj 278 398 r /ds/\$1\$2/morph/timegrain;
#X text 286 418 only for Pd version >= 0.43;
#X obj 269 614 f;
#X obj 242 550 t f b;
#X obj 470 229 r /ds/\$1\$2/morph/curve/shape;
#X obj 488 274 r /ds/\$1\$2/morph/curve/weight;
#X obj 507 318 r /ds/\$1\$2/morph/curve/resolution;
#X obj 527 365 r /ds/\$1\$2/morph/curve/quality;
#X obj 546 422 r /ds/\$1\$2/morph/curve/vis;
#X msg 470 251 shape \$1;
#X msg 488 296 weight \$1;
#X msg 527 399 quality \$1;
#X msg 507 340 resolution \$1;
#X obj 58 120 b;
#X msg 58 212 stop;
#X text 71 78 emergency stop;
#X text 65 646 bang when done;
#X text 357 640 0...1 --> old_value...new_value;
#X obj 58 98 r /ds/\$1/transition/stop;
#X obj 345 54 r /ds/\$1/transition/resume;
#X obj 345 214 * -1;
#X obj 345 236 + 1;
#X obj 345 267 * 0;
#X obj 345 168 f 0;
#X obj 257 458 t f f f;
#X obj 345 143 b;
#X obj 345 190 t f f;
#X obj 372 339 pack 0 0;
#X obj 257 216 t f f;
#X obj 345 289 t f f;
#X msg 546 444 vis;
#X obj 257 504 fadecurve \$0-/ds/\$1\$2/morph/curve 128 1;
#X obj 546 472 r /ds/\$1\$2/morph/curve/loadbang;
#X msg 546 494 loadbang;
#X obj 345 122 spigot;
#X obj 378 99 r \$0-state;
#X obj 97 121 r \$0-state;
#X obj 97 163 sel 0;
#X obj 97 143 change;
#X msg 372 364 set \$2 \, 1 \$1;
#X obj 345 313 sel 0;
#X connect 0 0 5 0;
#X connect 2 0 7 1;
#X connect 4 0 2 0;
#X connect 5 0 7 0;
#X connect 5 1 19 0;
#X connect 6 0 1 0;
#X connect 7 0 44 0;
#X connect 8 0 9 0;
#X connect 9 0 40 0;
#X connect 10 0 11 0;
#X connect 11 0 18 1;
#X connect 12 0 13 1;
#X connect 13 0 14 0;
#X connect 14 0 3 0;
#X connect 15 0 12 1;
#X connect 15 1 14 1;
#X connect 16 0 9 2;
#X connect 18 0 15 0;
#X connect 19 0 12 0;
#X connect 19 1 18 0;
#X connect 20 0 25 0;
#X connect 21 0 26 0;
#X connect 22 0 28 0;
#X connect 23 0 27 0;
#X connect 24 0 46 0;
#X connect 25 0 47 1;
#X connect 26 0 47 1;
#X connect 27 0 47 1;
#X connect 28 0 47 1;
#X connect 29 0 30 0;
#X connect 30 0 9 0;
#X connect 34 0 29 0;
#X connect 35 0 50 0;
#X connect 36 0 37 0;
#X connect 37 0 38 0;
#X connect 38 0 45 0;
#X connect 39 0 42 0;
#X connect 40 0 6 0;
#X connect 40 1 47 0;
#X connect 40 2 39 1;
#X connect 41 0 39 0;
#X connect 42 0 36 0;
#X connect 42 1 43 1;
#X connect 43 0 55 0;
#X connect 44 0 8 0;
#X connect 44 1 38 1;
#X connect 45 0 56 0;
#X connect 45 1 38 1;
#X connect 46 0 47 1;
#X connect 47 0 13 0;
#X connect 48 0 49 0;
#X connect 49 0 47 1;
#X connect 50 0 41 0;
#X connect 51 0 50 1;
#X connect 52 0 54 0;
#X connect 53 0 30 0;
#X connect 54 0 53 0;
#X connect 55 0 9 0;
#X connect 56 1 43 0;
#X restore 253 463 pd morph;
#X obj 194 140 r /ds/\$1\$2/morph;
#X obj 207 298 r /ds/\$1\$2/morph/time;
#X obj 155 378 kdemux2;
#X obj 194 273 && 1;
#X obj 208 248 t b f;
#X obj 208 166 r /ds/\$1/morph;
#X obj 155 463 t b a;
#X text 401 508 (c)2013 Marian Weger;
#N canvas 39 155 844 480 copy_paste_settings 0;
#X obj 40 59 r /ds/\$1\$2/settings/paste;
#X obj 418 89 r /ds/\$1\$2/settings/copy;
#X obj 40 138 list append \$1 \$2;
#X obj 418 138 list append \$1 \$2;
#X obj 40 111 b;
#X obj 418 111 b;
#X obj 54 86 r /ds/\$1/reg/settings/buffer/paste/all;
#X msg 40 170 \; /ds/\$1/reg/settings/buffer/morph/route /ds/\$1\$2/morph
\; /ds/\$1/reg/settings/buffer/morph/time/route /ds/\$1\$2/morph/time
\; /ds/\$1/reg/settings/buffer/morph/timegrain/route /ds/\$1\$2/morph/timegrain
\; /ds/\$1/reg/settings/buffer/morph/curve/shape/route /ds/\$1\$2/morph/curve/shape
\; /ds/\$1/reg/settings/buffer/morph/curve/weight/route /ds/\$1\$2/morph/curve/weight
\; /ds/\$1/reg/settings/buffer/morph/curve/resolution/route /ds/\$1\$2/morph/curve/resolution
\; /ds/\$1/reg/settings/buffer/morph/curve/quality/route /ds/\$1\$2/morph/curve/quality
\;;
#X msg 418 170 \; /ds/\$1\$2/morph/route /ds/\$1/reg/settings/buffer/morph
\; /ds/\$1\$2/morph/time/route /ds/\$1/reg/settings/buffer/morph/time
\; /ds/\$1\$2/morph/timegrain/route /ds/\$1/reg/settings/buffer/morph/timegrain
\; /ds/\$1\$2/morph/curve/shape/route /ds/\$1/reg/settings/buffer/morph/curve/shape
\; /ds/\$1\$2/morph/curve/weight/route /ds/\$1/reg/settings/buffer/morph/curve/weight
\; /ds/\$1\$2/morph/curve/resolution/route /ds/\$1/reg/settings/buffer/morph/curve/resolution
\; /ds/\$1\$2/morph/curve/quality/route /ds/\$1/reg/settings/buffer/morph/curve/quality
\;;
#X connect 0 0 4 0;
#X connect 1 0 5 0;
#X connect 2 0 7 0;
#X connect 3 0 8 0;
#X connect 4 0 2 0;
#X connect 5 0 3 0;
#X connect 6 0 4 0;
#X restore 375 126 pd copy_paste_settings;
#N canvas 185 69 575 485 register 0;
#X obj 47 288 list prepend \$1 \$2;
#X obj 260 75 ds_reg_settings \$1 \$2/morph;
#X obj 260 95 ds_reg_settings \$1 \$2/morph/time;
#X obj 260 115 ds_reg_settings \$1 \$2/morph/curve/shape;
#X obj 260 135 ds_reg_settings \$1 \$2/morph/curve/weight;
#X obj 260 155 ds_reg_settings \$1 \$2/morph/curve/resolution;
#X obj 260 175 ds_reg_settings \$1 \$2/morph/curve/quality;
#X obj 260 195 ds_reg_settings \$1 \$2/morph/timegrain;
#X msg 47 330 \; /ds/\$1\$2/morph/reg/state \$3 \; /ds/\$1\$2/morph/time/reg/state
\$3 \; /ds/\$1\$2/morph/timegrain/reg/state \$3 \; /ds/\$1\$2/morph/curve/shape/reg/state
\$3 \; /ds/\$1\$2/morph/curve/weight/reg/state \$3 \; /ds/\$1\$2/morph/curve/resolution/reg/state
\$3 \; /ds/\$1\$2/morph/curve/quality/reg/state \$3 \;;
#X obj 47 238 r /ds/\$1\$2/busy;
#X obj 47 260 == 0;
#X connect 0 0 8 0;
#X connect 9 0 10 0;
#X connect 10 0 0 0;
#X restore 375 146 pd register;
#X obj 207 320 t b f;
#X obj 194 345 &&;
#X text 28 26 ds_transition_morph <domain> <name> <arg1> <arg2> ...
;
#X obj 155 99 inlet value;
#X obj 38 99 inlet dispatched;
#X obj 253 413 route float;
#X obj 155 515 outlet dispatched;
#X text 35 49 (used by ds_reg);
#X obj 298 515 outlet value;
#N canvas 813 160 362 398 INIT 0;
#X obj 28 24 loadbang;
#X obj 55 76 list prepend \$1 \$2;
#X msg 55 108 \; /ds/\$1\$2/morph/curve/quality 0 \; /ds/\$1\$2/morph/curve/weight
0 \; /ds/\$1\$2/morph/curve/shape 0 \; /ds/\$1\$2/morph/curve/resolution
128 \; /ds/\$1\$2/morph/time 0 \; /ds/\$1\$2/morph/timegrain 20 \;
/ds/\$1\$2/morph 0 \;;
#X obj 28 46 t b b;
#X obj 28 231 s \$0-loadbang;
#X connect 0 0 3 0;
#X connect 1 0 2 0;
#X connect 3 0 4 0;
#X connect 3 1 1 0;
#X restore 375 106 pd INIT;
#X obj 297 376 s \$0-state;
#X obj 227 194 r \$0-loadbang;
#X obj 227 216 v /ds/\$1/morph/v;
#X connect 0 0 17 0;
#X connect 0 1 19 0;
#X connect 1 0 4 0;
#X connect 2 0 11 0;
#X connect 3 0 7 0;
#X connect 3 1 16 0;
#X connect 4 0 12 0;
#X connect 5 0 4 0;
#X connect 5 1 4 1;
#X connect 6 0 5 0;
#X connect 7 0 17 0;
#X connect 7 1 19 0;
#X connect 11 0 12 0;
#X connect 11 1 12 1;
#X connect 12 0 3 1;
#X connect 12 0 21 0;
#X connect 14 0 3 0;
#X connect 16 0 0 0;
#X connect 16 1 7 0;
#X connect 22 0 23 0;
#X connect 23 0 5 0;
