aboutsummaryrefslogtreecommitdiff
path: root/iemlib1/sparse_FIR~-help.pd
blob: 56f8ca94a8888092877982f020ff7aeb77460be6 (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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
#N canvas 125 49 986 684 10;
#X floatatom 4 149 5 0 0 0 - - -;
#X text 32 112 % cpu;
#X obj 4 109 dsp;
#X obj 4 89 tgl 15 0 empty empty dsp_ON/OFF 2 -8 0 10 -225271 -42246
-90881 0 1;
#X floatatom 183 510 7 0 0 0 - - -;
#X obj 112 389 dac~;
#X obj 112 363 gainvu~ 300;
#X obj 174 385 vu 15 120 empty empty 8 -8 0 10 -66577 -1 1 0;
#X obj 294 232 vsl 15 128 0 127 0 0 empty empty gain -7 -8 0 10 -225271
-42246 -90881 6000 1;
#X obj 113 111 noise~;
#X floatatom 173 528 7 0 0 0 - - -;
#X floatatom 17 129 5 0 0 0 - - -;
#X text 170 583 IEM KUG;
#X text 146 571 musil;
#X text 182 571 @;
#X text 190 571 iem.at;
#X text 153 593 Graz \, Austria;
#X floatatom 142 339 5 0 0 0 - - -;
#X msg 353 134 size 256;
#X msg 409 500 0 1 1 1;
#X msg 405 348 0 1 10 1 20 1 30 1 40 1 50 1 60 1 70 1 80 1;
#X obj 707 54 t b b;
#X msg 767 117 set;
#X msg 668 117 add2 \$1 \$2;
#X obj 707 34 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 -1
-1;
#X msg 354 156 order 384;
#X msg 405 369 matrix 9 2 0 1 10 1 20 1 30 1 40 1 50 1 60 1 70 1 80
1;
#X text 17 14 sparse_FIR~;
#X msg 409 560 0 0;
#X msg 409 466 0 -0.1 1 -0.18 2 -0.1 3 0.15 4 0.4 5 0.7 6 0.4 7 0.15
8 -0.1 9 -0.18 10 -0.1;
#X msg 510 142 0 0.04 1 0.04 2 0.04 3 0.04 4 0.04 5 0.04 6 0.04 7 0.04
8 0.04 9 0.04 10 0.04 11 0.04 12 0.04 13 0.04 14 0.04 15 0.04 16 0.04
17 0.04 18 0.04 19 0.04 20 0.04 21 0.04 22 0.04 23 0.04 24 0.04 25
0.04 26 0.04 27 0.04 28 0.04 29 0.04;
#X obj 668 97 pack 0 0.04;
#X obj 668 75 for++ 0 29;
#X text 405 204 A list of alternating index- and value- doubles will
change the coefficients of convolution. The number of pairs should
be less than the order of FIR.;
#X text 404 318 A matrix message will do the same.;
#X obj 568 109 loadbang;
#X text 134 14 convolve a signal with a coefficent list of non zero
index/value pairs. All values between the determined values will be
set to zero and won't be calculated (sparse).;
#X text 405 250 Each pair or double begins with an index followed by
its value.;
#X obj 113 196 sparse_FIR~ 256;
#X msg 286 113 size 16;
#X obj 327 214 init 60;
#X text 103 559 (c) Thomas Musil 2000 - 2011;
#X msg 409 521 0 1 40 -1 80 1 120 -1 160 1 200 -1 240 1 280 -1 320
1 360 -1 400 1;
#X msg 353 113 size 128;
#X msg 287 157 size 64;
#X msg 287 135 size 32;
#X msg 221 155 size 8;
#X msg 222 133 size 4;
#X text 799 345 same as;
#X text 800 368 same as;
#X msg 35 252 size 0;
#X msg 223 113 size 3;
#X msg 163 158 size 2;
#X msg 165 136 size 1;
#X text 847 120 sparse list;
#X text 719 447 sparse list;
#X text 529 411 sparse matrix;
#X text 29 235 ignored;
#X msg 429 134 order 4;
#X msg 428 156 order 8;
#X msg 409 436 0 0.1 3 0.1 6 0.1 9 0.1 12 0.1;
#X msg 408 585 0 0.3 1 0.3 2 0.3 3 0.3;
#X msg 569 586 10 0.3 11 0.3 12 0.3 13 0.3;
#X msg 755 585 size 4;
#X msg 808 586 size 14;
#X text 183 67 "size" or "order" followed by a number change the max.
order of FIR filter (or size = order) and the memory-management.;
#X text 404 283 All other values will reset to zero (not calculated).
;
#X text 134 311 (FIR order or size=order);
#X text 135 297 max. convolution-length;
#X text 123 283 1.arg: <float>;
#X text 853 301 matrix 9 2 \; 0 1 \; 10 1 \; 20 1 \; 30 1 \; 40 1 \;
50 1 \; 60 1 \; 70 1 \; 80 1;
#X text 1068 321 matrix 2 9 \; 0 10 20 30 40 50 60 70 80 \; 1 1 1 1
1 1 1 1 1;
#X msg 1073 368 matrix 2 9 0 1 10 1 20 1 30 1 40 1 50 1 60 1 70 1 80
1;
#X text 1073 392 not same as;
#X connect 2 0 0 0;
#X connect 2 1 11 0;
#X connect 3 0 2 0;
#X connect 6 0 5 0;
#X connect 6 0 5 1;
#X connect 6 1 17 0;
#X connect 6 2 7 0;
#X connect 7 0 10 0;
#X connect 7 1 4 0;
#X connect 8 0 6 1;
#X connect 9 0 38 0;
#X connect 18 0 38 0;
#X connect 19 0 38 0;
#X connect 20 0 38 0;
#X connect 21 0 32 0;
#X connect 21 1 22 0;
#X connect 22 0 30 0;
#X connect 23 0 30 0;
#X connect 24 0 21 0;
#X connect 25 0 38 0;
#X connect 26 0 38 0;
#X connect 28 0 38 0;
#X connect 29 0 38 0;
#X connect 30 0 38 0;
#X connect 31 0 23 0;
#X connect 32 0 31 0;
#X connect 35 0 30 0;
#X connect 38 0 6 0;
#X connect 39 0 38 0;
#X connect 40 0 8 0;
#X connect 42 0 38 0;
#X connect 43 0 38 0;
#X connect 44 0 38 0;
#X connect 45 0 38 0;
#X connect 46 0 38 0;
#X connect 47 0 38 0;
#X connect 50 0 38 0;
#X connect 51 0 38 0;
#X connect 52 0 38 0;
#X connect 53 0 38 0;
#X connect 58 0 38 0;
#X connect 59 0 38 0;
#X connect 60 0 38 0;
#X connect 61 0 38 0;
#X connect 62 0 38 0;
#X connect 63 0 38 0;
#X connect 64 0 38 0;