aboutsummaryrefslogtreecommitdiff
path: root/abs/mtx_ispeak.pd
blob: 212ed61bd680bb9a7dc44c9134ee01b0321da57a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#N canvas 0 0 540 300 10;
#X obj 162 43 inlet;
#X obj 162 218 outlet;
#X obj 162 119 t a a;
#X obj 162 160 mtx_&&;
#X obj 222 140 mtx_<= 0;
#X obj 162 140 mtx_>= 0;
#X obj 162 98 mtx_diff row -1;
#X obj 222 121 mtx_roll 1;
#X text 319 77 searches;
#X text 312 102 matrix rows;
#X text 310 128 for peaks;
#X text 290 163 returns 1 at peak location;
#X text 339 185 0 elsewhere;
#X connect 0 0 6 0;
#X connect 2 0 5 0;
#X connect 2 1 7 0;
#X connect 3 0 1 0;
#X connect 4 0 3 1;
#X connect 5 0 3 0;
#X connect 6 0 2 0;
#X connect 7 0 4 0;