aboutsummaryrefslogtreecommitdiff
path: root/Patches/fs.hist.pd
blob: 93f875f98b70de42c2f92322b02b0e1e1d8aaf96 (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
#N canvas 283 252 725 432 12;
#X text 13 9 fs.hist - an array of 256 elements \, where x = intensity
and y = number of colors with that intensity;
#X obj 40 70 inlet;
#X obj 40 148 pack s f s s;
#X obj 252 135 reset;
#X obj 252 161 symbol \$0hist;
#X obj 227 69 inlet;
#X text 277 70 0=red 1=green 2=blue;
#X text 94 70 fs.frame;
#X obj 252 193 makefilename c:/%s;
#X text 249 223 if you run pd and fs on separate machines \, you need
a mapped network drive to pass the data. sorry.;
#X obj 111 248 r \$0histbang;
#X msg 111 273 bang;
#X obj 40 209 fs_sender;
#X msg 40 180 \$1 hist \$2 \$3 \$4bang;
#X obj 227 96 float \$1;
#X obj 213 298 symbol \$2;
#X obj 111 304 pack f s s;
#X msg 111 348 \; \$2 read16 \$3;
#X text 220 357 2nd arg must be name of table with 256 elements.;
#X text 383 170 change c:/ to some temp-directory..;
#X connect 1 0 2 0;
#X connect 2 0 13 0;
#X connect 3 0 4 0;
#X connect 3 0 14 0;
#X connect 3 0 15 0;
#X connect 4 0 2 3;
#X connect 4 0 8 0;
#X connect 5 0 2 1;
#X connect 8 0 2 2;
#X connect 8 0 16 2;
#X connect 10 0 11 0;
#X connect 11 0 16 0;
#X connect 13 0 12 0;
#X connect 14 0 2 1;
#X connect 15 0 16 1;
#X connect 16 0 17 0;