From ffab7a2e5198de29c7cdaef0540af51c9cfafeea Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Fri, 3 Feb 2006 21:37:03 +0000 Subject: sketches for newbie tutorials. these will need to be renamed to be put in a better order svn path=/trunk/; revision=4542 --- doc/tutorials/intro/0.pure_data_files.pd | 76 ++++++++++++++++++++++++++++++++ 1 file changed, 76 insertions(+) create mode 100644 doc/tutorials/intro/0.pure_data_files.pd (limited to 'doc/tutorials/intro/0.pure_data_files.pd') diff --git a/doc/tutorials/intro/0.pure_data_files.pd b/doc/tutorials/intro/0.pure_data_files.pd new file mode 100644 index 00000000..2f7427e7 --- /dev/null +++ b/doc/tutorials/intro/0.pure_data_files.pd @@ -0,0 +1,76 @@ +#N canvas 19 110 649 545 10; +#X obj 191 209 textfile; +#X obj 111 239 print all; +#X msg 137 164 bang; +#X msg 191 163 rewind; +#X obj 131 307 route canvas; +#X obj 112 434 print width; +#X obj 51 385 print Xpos; +#X obj 81 410 print Ypos; +#X obj 143 459 print heigth; +#X obj 174 384 print fontsize; +#X obj 51 354 unpack f f f f f; +#X text 35 17 As much as possible \, every message in Pd uses the same +format \, hence the name "pure data".; +#X text 53 78 Here is a patch that reads the file of this patch:; +#X msg 272 167 read 0.pure_data_files.pd; +#N canvas 0 22 557 556 clone 1; +#X obj 191 209 textfile; +#X obj 111 239 print all; +#X msg 137 164 bang; +#X msg 191 163 rewind; +#X obj 131 307 route canvas; +#X obj 112 434 print width; +#X obj 51 385 print Xpos; +#X obj 81 410 print Ypos; +#X obj 143 459 print heigth; +#X obj 174 384 print fontsize; +#X obj 51 354 unpack f f f f f; +#X text 35 17 As much as possible \, every message in Pd uses the same +format \, hence the name "pure data".; +#X text 53 78 Here is a patch that reads the file of this patch:; +#X msg 272 167 read 0.pure_data_files.pd; +#X obj 356 405 s pd-clone; +#X obj 191 234 route #N #X; +#X obj 138 135 metro 1000; +#X obj 271 115 loadbang; +#X obj 138 109 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0 +1; +#X obj 363 295 loadbang; +#X msg 359 319 vis 1 \, clear; +#X connect 0 0 1 0; +#X connect 0 0 16 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 restore 430 484 pd clone; +#X obj 356 405 s pd-clone; +#X obj 191 234 route #N #X; +#X obj 138 135 metro 1000; +#X obj 271 115 loadbang; +#X obj 138 109 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 1 +1; +#X obj 363 295 loadbang; +#X msg 359 319 vis 1 \, clear; +#X connect 0 0 1 0; +#X connect 0 0 16 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 13 0 0 0; +#X connect 16 0 4 0; +#X connect 16 1 15 0; +#X connect 17 0 2 0; +#X connect 18 0 13 0; +#X connect 18 0 3 0; +#X connect 19 0 17 0; +#X connect 20 0 21 0; +#X connect 21 0 15 0; -- cgit v1.2.1