From 7d3731fb32ee97e4fb30a853e6aa9cbcf135e83c Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Tue, 18 Apr 2006 10:10:23 +0000 Subject: wrote script to reorder patches by first number in filename svn path=/trunk/; revision=4933 --- doc/tutorials/intro/16.inlets_and_outlets.pd | 42 ++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 doc/tutorials/intro/16.inlets_and_outlets.pd (limited to 'doc/tutorials/intro/16.inlets_and_outlets.pd') diff --git a/doc/tutorials/intro/16.inlets_and_outlets.pd b/doc/tutorials/intro/16.inlets_and_outlets.pd new file mode 100644 index 00000000..9e6187d6 --- /dev/null +++ b/doc/tutorials/intro/16.inlets_and_outlets.pd @@ -0,0 +1,42 @@ +#N canvas 14 57 624 464 12; +#N canvas 10 40 620 460 object 0; +#X obj 175 99 inlet; +#X obj 174 206 outlet; +#X text 14 39 this object does nothing but pass data thru; +#X connect 0 0 1 0; +#X restore 366 208 pd object; +#N canvas 10 40 628 468 another 0; +#X obj 17 94 inlet; +#X obj 471 382 outlet; +#X obj 16 386 print; +#X msg 16 354 hi from inside [pd another object]!; +#X obj 16 182 trigger bang anything; +#X text 9 28 This object first passes the data thru \, then says hi +in the Pd window.; +#X connect 0 0 4 0; +#X connect 3 0 2 0; +#X connect 4 0 3 0; +#X connect 4 1 1 0; +#X restore 365 254 pd another object; +#X obj 12 13 cnv 15 400 40 empty empty inlets_and_outlets 20 12 0 24 +-228992 -66577 0; +#X text 14 76 When making your own objects \, you can make your own +inlets and outlets \, whether in a subpatch or an abstraction.; +#X msg 333 162 bang; +#X obj 327 297 bng 25 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 +-1; +#X obj 30 154 cnv 15 220 180 empty empty empty 20 12 0 14 -233017 -66577 +0; +#X obj 43 177 inlet; +#X obj 43 283 outlet; +#X text 98 177 take in data; +#X text 60 227 do some stuff here; +#X text 113 282 output data; +#X msg 391 161 what's in here?; +#X obj 373 301 print; +#X connect 0 0 1 0; +#X connect 1 0 5 0; +#X connect 1 0 13 0; +#X connect 4 0 0 0; +#X connect 7 0 8 0; +#X connect 12 0 0 0; -- cgit v1.2.1