aboutsummaryrefslogtreecommitdiff
path: root/doc/pddp/initbang-help-ex2-initbang.pd
blob: 93bb2c47817cecbc3ae78617a038ac5863fa095d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#N canvas 87 221 428 300 10;
#X obj 1 9 cnv 15 425 20 empty \$0-pddp.cnv.subheading empty 3 12 0
14 -204280 -1 0;
#X text 8 10 [initbang] Abstraction Example No 2;
#X obj 126 166 initbang;
#X text 64 129 <- dynamically created [outlet];
#X text 20 45 This abstraction just shows a simple example of how [initbang]
works. Since [initbang] is used below (instead of [loadbang]) \, the
outlet gets created before the parent patch initializes. This ensures
that connections get created properly when the parent patch is opened.
;
#X msg 126 189 obj 20 130 outlet;
#X obj 126 212 send pd-initbang-help-ex2-initbang.pd;
#X connect 2 0 5 0;
#X connect 5 0 6 0;