From 031bb7332779aab0005947ea3d8f83ee6a4836bf Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Fri, 7 Apr 2006 00:15:27 +0000 Subject: added lots of patches which are templates, semi-complete, or out of order svn path=/trunk/; revision=4829 --- doc/tutorials/intro/22.pure_data_files.pd | 54 +++++++++++++++++++++++++++++++ 1 file changed, 54 insertions(+) create mode 100644 doc/tutorials/intro/22.pure_data_files.pd (limited to 'doc/tutorials/intro/22.pure_data_files.pd') diff --git a/doc/tutorials/intro/22.pure_data_files.pd b/doc/tutorials/intro/22.pure_data_files.pd new file mode 100644 index 00000000..2061d910 --- /dev/null +++ b/doc/tutorials/intro/22.pure_data_files.pd @@ -0,0 +1,54 @@ +#N canvas 615 56 576 539 10; +#X obj 191 249 textfile; +#X obj 111 279 print all; +#X msg 100 223 bang; +#X msg 191 213 rewind; +#X obj 131 347 route canvas; +#X obj 112 474 print width; +#X obj 51 425 print Xpos; +#X obj 81 450 print Ypos; +#X obj 143 499 print heigth; +#X obj 174 424 print fontsize; +#X obj 51 394 unpack f f f f f; +#X obj 295 427 s pd-clone; +#X obj 191 274 route #N #X; +#X obj 234 106 tgl 20 0 empty empty empty 0 -6 0 8 -24198 -1 -1 1 1 +; +#X msg 294 338 vis 1 \, clear; +#X obj 142 174 + 1; +#X obj 100 174 float; +#X obj 272 152 select 1; +#X obj 98 150 metro 300; +#X text 35 54 Even .pd files use the same message format.; +#X text 34 75 Here is a patch that reads the file of this patch and +sends it to the "clone" subpatch \, making a clone:; +#X obj 8 10 cnv 15 400 40 empty empty pure_data_files 20 12 0 24 -228992 +-66577 0; +#X obj 100 198 moses 52; +#X msg 317 214 read 22.pure_data_files.pd; +#N canvas 0 22 548 599 clone 0; +#X restore 428 494 pd clone; +#X connect 0 0 1 0; +#X connect 0 0 12 0; +#X connect 2 0 0 0; +#X connect 3 0 0 0; +#X connect 4 0 10 0; +#X connect 10 0 6 0; +#X connect 10 1 7 0; +#X connect 10 2 5 0; +#X connect 10 3 8 0; +#X connect 10 4 9 0; +#X connect 12 0 4 0; +#X connect 12 1 11 0; +#X connect 13 0 17 0; +#X connect 13 0 18 0; +#X connect 14 0 11 0; +#X connect 15 0 16 1; +#X connect 16 0 15 0; +#X connect 16 0 22 0; +#X connect 17 0 23 0; +#X connect 17 0 3 0; +#X connect 17 0 14 0; +#X connect 18 0 16 0; +#X connect 22 0 2 0; +#X connect 23 0 0 0; -- cgit v1.2.1