diff options
author | Franz Zotter <fzotter@users.sourceforge.net> | 2006-08-17 15:51:30 +0000 |
---|---|---|
committer | Franz Zotter <fzotter@users.sourceforge.net> | 2006-08-17 15:51:30 +0000 |
commit | ea9cefccc82570c6e9804a1688510cba63d4ae32 (patch) | |
tree | 7e10bde0e8b1c96a05651d51424923f381d5b87b /abs/mtx_ispeak.pd | |
parent | faa4e3eaa3736a788697e7bf6830040741df1166 (diff) |
mtx_ispeak is a peak finder that locates peak values in the rows of a matrix.
svn path=/trunk/externals/iem/iemmatrix/; revision=5640
Diffstat (limited to 'abs/mtx_ispeak.pd')
-rw-r--r-- | abs/mtx_ispeak.pd | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/abs/mtx_ispeak.pd b/abs/mtx_ispeak.pd new file mode 100644 index 0000000..212ed61 --- /dev/null +++ b/abs/mtx_ispeak.pd @@ -0,0 +1,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; |