diff options
Diffstat (limited to 'msd/editor/scale-ds2msd.pd')
-rw-r--r-- | msd/editor/scale-ds2msd.pd | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/msd/editor/scale-ds2msd.pd b/msd/editor/scale-ds2msd.pd new file mode 100644 index 0000000..df103aa --- /dev/null +++ b/msd/editor/scale-ds2msd.pd @@ -0,0 +1,42 @@ +#N canvas 257 161 999 516 10; +#X obj 43 52 inlet; +#X text 87 52 X-coord. as in DS; +#X obj 43 255 outlet; +#X obj 338 50 inlet; +#X obj 338 253 outlet; +#X text 382 50 Y-coord. as in DS; +#X text 99 255 X-coord. as in MSD; +#X text 398 253 Y-coord. as in MSD; +#X obj 688 336 pack 0 0; +#X obj 688 367 outlet; +#X obj 689 55 unpack 0 0; +#X obj 689 30 inlet; +#X text 725 148 Or use lists: (x \, y); +#X obj 78 101 r DS-xmin; +#X obj 149 166 r MSD-xmin; +#X obj 373 99 r DS-ymin; +#X obj 444 164 r MSD-ymin; +#X obj 114 128 r DS-xmax; +#X obj 185 191 r MSD-xmax; +#X obj 409 126 r DS-ymax; +#X obj 480 189 r MSD-ymax; +#X obj 43 218 expr_scale 0 600 -2 2; +#X obj 338 216 expr_scale 600 0 -2 2; +#X connect 0 0 21 0; +#X connect 3 0 22 0; +#X connect 8 0 9 0; +#X connect 10 0 21 0; +#X connect 10 1 22 1; +#X connect 11 0 10 0; +#X connect 13 0 21 1; +#X connect 14 0 21 3; +#X connect 15 0 22 1; +#X connect 16 0 22 3; +#X connect 17 0 21 2; +#X connect 18 0 21 4; +#X connect 19 0 22 2; +#X connect 20 0 22 4; +#X connect 21 0 2 0; +#X connect 21 0 8 0; +#X connect 22 0 4 0; +#X connect 22 0 8 1; |