From 4d8c0098cbb72a7230b7de0f7d6a6edd1b907aa4 Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Thu, 16 Aug 2007 18:58:08 +0000 Subject: updated pddp/print and made this patch use it, plus added more text svn path=/trunk/; revision=8599 --- doc/tutorials/intro/38.init_to_0.pd | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 doc/tutorials/intro/38.init_to_0.pd (limited to 'doc') diff --git a/doc/tutorials/intro/38.init_to_0.pd b/doc/tutorials/intro/38.init_to_0.pd new file mode 100644 index 00000000..01fa2360 --- /dev/null +++ b/doc/tutorials/intro/38.init_to_0.pd @@ -0,0 +1,33 @@ +#N canvas 0 42 660 464 12; +#X obj 12 13 cnv 15 400 40 empty empty init_to_zero 10 15 0 24 -228992 +-66577 0; +#X obj 293 241 +; +#X obj 177 242 *; +#X obj 56 241 float; +#X obj 242 272 bng 15 250 50 0 empty empty reset 0 -6 0 8 -262144 -1 +-1; +#X obj 293 315 pddp/print; +#X obj 176 315 pddp/print; +#X obj 56 315 pddp/print; +#X obj 414 315 pddp/print; +#X msg 293 203 bang; +#X msg 177 204 bang; +#X msg 56 204 bang; +#X msg 414 204 bang; +#X obj 414 241 trigger float; +#X text 47 170 Here are a few examples:; +#X text 32 78 Objects are automatically initialized to 0 in Pd. If +there is no value specified \, then the value will be 0 This only applies +to places where numeric atoms are used.; +#X connect 1 0 5 0; +#X connect 2 0 6 0; +#X connect 3 0 7 0; +#X connect 4 0 5 0; +#X connect 4 0 6 0; +#X connect 4 0 7 0; +#X connect 4 0 8 0; +#X connect 9 0 1 0; +#X connect 10 0 2 0; +#X connect 11 0 3 0; +#X connect 12 0 13 0; +#X connect 13 0 8 0; -- cgit v1.2.1