aboutsummaryrefslogtreecommitdiff
path: root/doc/pddp/initbang-help-ex2-initbang.pd
blob: 6fb41643c1dde7999cf4ec3fef2b7b02da8876dd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#N canvas 81 215 428 300 10;
#X obj 0 0 cnv 15 425 20 empty \$0-pddp.cnv.subheading empty 3 12 0
14 -204280 -1 0;
#X text 7 1 [initbang] Abstraction Example No 2;
#X obj 157 191 s pd-initbang-help-ex2-initbang.pd;
#X obj 157 145 initbang;
#X text 74 109 <- dynamically created [outlet];
#X msg 157 168 obj 20 110 outlet;
#X text 19 36 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 connect 3 0 5 0;
#X connect 5 0 2 0;