aboutsummaryrefslogtreecommitdiff
path: root/externals/gridflow/doc/flow_classes/#finished-help.pd
blob: 46a31bdbb096479de139219f898fe87f8196af06 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
#N canvas 648 0 632 642 10;
#X text 21 37 a bang is emitted every time a grid transmission ends
;
#X obj 23 114 bng 15 250 50 0 empty empty empty 0 -6 0 8 -233017 -1
-1;
#X obj 23 85 #finished;
#X obj 0 0 doc_h;
#X obj 3 568 doc_i 1;
#X obj 3 630 doc_o 1;
#X obj 3 528 doc_c 0;
#X obj 14 660 doc_oo 0;
#X obj 14 598 doc_ii 0;
#X obj 97 598 doc_m i0 grid;
#X obj 97 660 doc_m o0 bang;
#X text 232 598 a bang is emitted every time a grid transmission ends.
;
#X obj 0 710 doc_f;
#X obj 23 66 t a a;
#X obj 89 66 #convolve (1 3 # 1 2 1);
#X text 90 85 this is a pattern where [t b a] doesn't cut it \, because
the bang would be output too early \, as it gets output at GRID_BEGIN
time (the time at which the grid message is sent). But [#convolve]
only outputs its contents after GRID_FLOW time \, which is what [#finished]
ensures. However you still need a [t a a] \, because [#finished]'s
GRID_FINISH time must happen after [#convolve]'s GRID_FINISH \, so
that you can be sure that [#convolve] is really finished with producing
its output.;
#X obj 3 690 doc_also;
#X obj 103 690 #t;
#X text 39 278 the 2nd exception is that it definitely doesn't support
any control-recursion (an object can't start processing a new message
before it has finished processing its message).;
#X obj 410 221 pdp_qt;
#X obj 410 252 print;
#X msg 409 199;
#X text 40 327 the third exception is that the GRID atom type is not
officially recognised by PureData because PureData provides no means
for externals to register new atom types. You can see the effect of
this in how GEM uses the POINTER atom type in an unstable way (which
is also how GridFlow used to do it);
#X text 38 215 this is one of GridFlow's exceptions to how much grid-processing
is like normal pd message passing. there is also the [#t] class that
provides a shortcut for the most common use pattern of [#t].;
#X text 41 416 the fourth exception is that GridInlets support multiple
selectors with quite peculiar autocasts \, meaning that [# +] can't
support the equivalent of the 'list' message in the [+] class.;
#X text 40 479 much of the text of this page should really go somewhere
else \, but there is no place for it yet.;
#X connect 2 0 1 0;
#X connect 9 1 11 0;
#X connect 13 0 2 0;
#X connect 13 1 14 0;
#X connect 16 1 17 0;
#X connect 19 0 20 0;