aboutsummaryrefslogtreecommitdiff
path: root/doc/additional/pd-msg/1.msg_and_patch/3.2.cut_paste.pd
blob: efce0ddb384bed2a402b1c7cd3684fd3410dba51 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
#N canvas 138 75 417 481 10;
#N canvas 591 210 348 310 testing 0;
#X obj 95 10 loadbang;
#X msg 95 35 0;
#X obj 12 37 random 127;
#X floatatom 66 93 0 0 0 0 - - -;
#X msg 12 11 bang;
#X obj 95 10 loadbang;
#X msg 95 35 0;
#X obj 12 37 random 127;
#X floatatom 66 93 0 0 0 0 - - -;
#X msg 12 11 bang;
#X connect 0 0 1 0;
#X connect 1 0 3 0;
#X connect 2 0 3 0;
#X connect 4 0 2 0;
#X connect 5 0 6 0;
#X connect 6 0 8 0;
#X connect 7 0 8 0;
#X connect 9 0 7 0;
#X restore 315 439 pd testing;
#X obj 20 438 s pd-testing;
#X obj 248 211 pack f f;
#X text 7 40 Start here;
#X floatatom 279 149 0 0 0 0 - - -;
#X floatatom 248 148 0 0 0 0 - - -;
#X obj 259 183 t b f;
#X text 7 374 Stop here;
#X text 17 11 This example will show you how to use the motion msg.
;
#X msg 194 307 cut;
#X msg 194 333 duplicate;
#X msg 20 399 motion 15 15 \, editmode0 \, vis 0;
#X text 50 81 show and select what's in the patch;
#X text 151 419 close all;
#X text 232 309 you can try thoses too.;
#X text 66 125 and then here to copy and here to move;
#X msg 31 256 mouseup 200 200 0;
#X text 49 236 to acheive the pasting;
#X msg 248 235 motion \$1 \$2 0;
#X msg 20 60 vis 1 \, editmode 1 \, mouse 5 5 0 0 \, mouseup 200 200
0;
#X msg 37 146 copy \, paste \, mouse 15 15 0 0;
#X msg 194 359 selectall;
#X connect 2 0 18 0;
#X connect 4 0 6 0;
#X connect 5 0 2 0;
#X connect 6 0 2 0;
#X connect 6 1 2 1;
#X connect 9 0 1 0;
#X connect 10 0 1 0;
#X connect 11 0 1 0;
#X connect 16 0 1 0;
#X connect 18 0 1 0;
#X connect 19 0 1 0;
#X connect 20 0 1 0;
#X connect 21 0 1 0;