aboutsummaryrefslogtreecommitdiff
path: root/doc/objects/pdp_rawin.pd
blob: 6dcc3424806a761f1e950fa1ad8121dafde6834e (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 504 520 687 380 10;
#X msg 137 68 open /tmp/otherpipe;
#X msg 437 157 open;
#X text 169 111 set type (how to interpret raw data);
#X obj 75 307 pdp_help_output;
#X text 476 157 open default pipe;
#X text 177 196 creation args: <pipe> <type>;
#X obj 405 218 print done;
#X text 270 244 2nd outlet: bang if pipe is closed;
#X text 271 260 connect to [open< to ensure pipe stays open;
#X text 283 69 open any pipe for reading;
#X msg 152 90 close;
#X text 198 90 close pipe;
#X obj 437 137 spigot;
#X obj 473 116 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0
1;
#X msg 171 129 type bitmap/rgb/320x240;
#X obj 137 174 pdp_rawin /tmp/pipe image/grey/320x240;
#X text 102 19 pdp_rawin: read raw data from a pipe (or file);
#X connect 0 0 15 0;
#X connect 1 0 15 0;
#X connect 10 0 15 0;
#X connect 12 0 1 0;
#X connect 13 0 12 1;
#X connect 14 0 15 0;
#X connect 15 0 3 0;
#X connect 15 1 6 0;
#X connect 15 1 12 0;