aboutsummaryrefslogtreecommitdiff
path: root/abstractions/pdp_save_png_sequence.pd
blob: 786df47a697f3c432d5d2c68a42f4fedfa054a29 (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
#N canvas 654 482 490 382 10;
#X obj 54 65 inlet;
#X obj 119 362 pdp_reg;
#X obj 119 130 pdp_t b p;
#X obj 119 186 + 1;
#X obj 54 93 route bang;
#X obj 119 251 makefilename /tmp/frame%d.png;
#X obj 119 215 moses \$1;
#X obj 140 279 print;
#X msg 119 305 save_png \$1;
#X msg 54 126 0;
#X text 146 10 save a png sequence in the /tmp directory;
#X text 146 25 creation argument is the number of frames;
#X obj 119 160 f \$1;
#X text 146 40 send a bang to start writing;
#X connect 0 0 4 0;
#X connect 2 0 12 0;
#X connect 2 1 1 0;
#X connect 3 0 6 0;
#X connect 3 0 12 1;
#X connect 4 0 9 0;
#X connect 4 1 2 0;
#X connect 5 0 7 0;
#X connect 5 0 8 0;
#X connect 6 0 5 0;
#X connect 8 0 1 0;
#X connect 9 0 12 1;
#X connect 12 0 3 0;