aboutsummaryrefslogtreecommitdiff
path: root/flib/doc/mfcc-help.pd
blob: badacdf8e25b4f2f6a2a94226aa5f107eac43e92 (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
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
#N canvas 302 72 832 546 10;
#N canvas 0 0 607 458 mfcc 0;
#X obj 128 128 rfft~;
#X obj 122 194 unpack~;
#X obj 218 -15 block~ 512;
#X obj 208 323 tabsend~ spec;
#X obj 122 150 mspec~ 2;
#X obj 151 280 clean~;
#N canvas 0 0 450 300 graph1 0;
#X array hann 512 float 1;
#A 0 8.9407e-08 3.58522e-05 0.000150532 0.000344157 0.000616699 0.000968069
0.00139824 0.00190714 0.00249469 0.0031608 0.00390536 0.00472826 0.00562936
0.00660852 0.0076656 0.00880042 0.0100128 0.0113026 0.0126694 0.0141133
0.0156339 0.017231 0.0189043 0.0206535 0.0224785 0.0243788 0.0263543
0.0284045 0.0305292 0.0316194 0.0338552 0.0361646 0.0385472 0.0410027
0.0435306 0.0461307 0.0488024 0.0515454 0.0543591 0.0572433 0.0601973
0.0632208 0.0663133 0.0694742 0.0727032 0.0759995 0.0793629 0.0827926
0.0862883 0.0898493 0.093475 0.0971649 0.100918 0.104735 0.108614 0.112555
0.116557 0.120619 0.122673 0.126825 0.131036 0.135305 0.139632 0.144016
0.148456 0.152951 0.157502 0.162106 0.166764 0.171474 0.176236 0.18105
0.185913 0.190827 0.195789 0.200799 0.205856 0.21096 0.21611 0.221304
0.226543 0.231824 0.237148 0.242513 0.247919 0.253365 0.256103 0.261606
0.267148 0.272726 0.27834 0.28399 0.289673 0.29539 0.301139 0.306919
0.312729 0.31857 0.324439 0.330335 0.336259 0.342208 0.348182 0.35418
0.360202 0.366245 0.372309 0.378394 0.384498 0.39062 0.396759 0.402915
0.409086 0.415271 0.42147 0.424574 0.43079 0.437018 0.443256 0.449503
0.455757 0.462019 0.468287 0.47456 0.480836 0.487116 0.493398 0.499681
0.505963 0.512245 0.518525 0.524802 0.531075 0.537344 0.543606 0.549861
0.556109 0.562348 0.568577 0.574795 0.581001 0.587194 0.593374 0.596458
0.602616 0.608757 0.61488 0.620986 0.627073 0.633139 0.639185 0.645208
0.651209 0.657186 0.663138 0.669063 0.674963 0.680835 0.686678 0.692492
0.698275 0.704027 0.709747 0.715434 0.721087 0.726704 0.732287 0.737832
0.743339 0.748809 0.754239 0.759629 0.762308 0.767636 0.772923 0.778165
0.783364 0.788518 0.793626 0.798689 0.803704 0.808671 0.813589 0.818458
0.823277 0.828044 0.832759 0.837423 0.842032 0.846588 0.851089 0.855535
0.859925 0.864257 0.868533 0.872749 0.876908 0.881006 0.885045 0.889022
0.890988 0.894873 0.898696 0.902456 0.906153 0.909785 0.913353 0.916855
0.920291 0.923662 0.926965 0.930201 0.933368 0.936468 0.939498 0.942459
0.945351 0.948172 0.950922 0.953601 0.956208 0.958744 0.961206 0.963596
0.965913 0.968157 0.970326 0.972421 0.974442 0.975424 0.977332 0.979164
0.980921 0.982602 0.984207 0.985736 0.987187 0.988562 0.98986 0.99108
0.992223 0.993288 0.994275 0.995184 0.996015 0.996767 0.997441 0.998037
0.998554 0.998992 0.999351 0.999632 0.999833 0.999956 1 0.999965 0.999851
0.999764 0.999531 0.99922 0.99883 0.998361 0.997813 0.997187 0.996482
0.995699 0.994838 0.993898 0.99288 0.991785 0.990612 0.989362 0.988034
0.986629 0.985147 0.983589 0.981954 0.980243 0.978457 0.976595 0.974657
0.972645 0.970558 0.968397 0.966161 0.963853 0.962671 0.960252 0.957761
0.955197 0.952562 0.949855 0.947077 0.944229 0.94131 0.938322 0.935264
0.932138 0.928944 0.925681 0.922352 0.918956 0.915493 0.911966 0.908373
0.904715 0.900994 0.897209 0.893362 0.889452 0.885481 0.88145 0.877357
0.873206 0.871108 0.866868 0.86257 0.858215 0.853804 0.849336 0.844814
0.840237 0.835606 0.830922 0.826186 0.821399 0.816561 0.811672 0.806735
0.801749 0.796715 0.791635 0.786509 0.781337 0.776121 0.770861 0.765559
0.760214 0.754829 0.749403 0.743938 0.738434 0.732893 0.730108 0.724513
0.718881 0.713215 0.707515 0.701782 0.696018 0.690223 0.684397 0.678542
0.67266 0.66675 0.660814 0.654852 0.648866 0.642856 0.636824 0.63077
0.624696 0.618601 0.612489 0.606358 0.60021 0.594047 0.587869 0.581677
0.575472 0.569255 0.566143 0.55991 0.553668 0.547417 0.541159 0.534894
0.528623 0.522349 0.516071 0.50979 0.503507 0.497224 0.490942 0.48466
0.478382 0.472107 0.465836 0.459571 0.453311 0.44706 0.440817 0.434582
0.428359 0.422146 0.415946 0.40976 0.403587 0.39743 0.391288 0.388224
0.382109 0.376013 0.369936 0.36388 0.357845 0.351833 0.345844 0.339879
0.33394 0.328027 0.322141 0.316283 0.310454 0.304656 0.298887 0.293151
0.287447 0.281777 0.276141 0.270541 0.264977 0.25945 0.253961 0.248511
0.243101 0.237731 0.232402 0.229754 0.22449 0.219268 0.214091 0.208959
0.203874 0.198835 0.193843 0.1889 0.184006 0.179162 0.174369 0.169627
0.164937 0.1603 0.155716 0.151188 0.146714 0.142296 0.137934 0.133629
0.129383 0.125195 0.121066 0.116997 0.112988 0.109041 0.105155 0.101332
0.0994434 0.0957148 0.09205 0.0884494 0.084914 0.0814439 0.0780401
0.074703 0.0714327 0.0682305 0.0650961 0.0620306 0.0590343 0.0561074
0.0532508 0.0504645 0.0477495 0.0451058 0.0425338 0.0400342 0.037607
0.035253 0.0329725 0.0307654 0.0286327 0.0265742 0.0245907 0.022682
0.021756 0.0199607 0.018241 0.0165975 0.0150304 0.0135397 0.0121259
0.0107891 0.00952962 0.00834757 0.00724307 0.00621647 0.00526777 0.00439724
0.00360498 0.00289103 0.00225565 0.00169882 0.0012207 0.000821322 0.000500739
0.000259072 9.62913e-05 1.24574e-05 0.01236 0.0060784 -0.000203653
;
#X coords 0 1 511 -1 200 140 1;
#X restore 380 -10 graph;
#X obj 128 107 *~;
#X obj 168 76 tabreceive~ hann;
#X obj 121 75 inlet~;
#X obj 121 172 melf~ 187;
#X obj 36 235 +~ 1;
#X obj 37 280 clean~;
#X obj 150 345 outlet~;
#X obj 150 258 expr~ log($v1);
#X obj 36 258 expr~ log($v1);
#X connect 0 0 4 0;
#X connect 0 1 4 1;
#X connect 1 0 11 0;
#X connect 1 0 14 0;
#X connect 4 0 10 0;
#X connect 5 0 13 0;
#X connect 5 0 3 0;
#X connect 7 0 0 0;
#X connect 8 0 7 1;
#X connect 9 0 7 0;
#X connect 10 0 1 0;
#X connect 11 0 15 0;
#X connect 14 0 5 0;
#X connect 15 0 12 0;
#X restore 140 73 pd mfcc;
#X obj 45 48 dac~;
#N canvas 0 0 600 443 fct 0;
#X obj 243 93 block~ 16;
#X obj 179 171 fct~;
#X obj 112 249 print~;
#X obj 90 208 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1
-1;
#X obj 176 134 inlet~;
#X obj 331 281 outlet~;
#X connect 1 0 2 0;
#X connect 1 0 5 0;
#X connect 3 0 2 0;
#X connect 4 0 1 0;
#X restore 545 10 pd fct;
#X obj 139 99 print~;
#X obj 113 101 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1
-1;
#N canvas 0 0 450 300 graph5 0;
#X array spec 40 float 1;
#A 0 0.446249 0.446249 -0.551738 -0.551747 -0.551803 -0.992836 -2.15955
-2.16147 -2.65989 -8.82366 -10.7311 -11.2379 -11.4798 -11.6518 -11.7096
-11.7489 -11.7853 -11.8764 -11.9392 -11.9961 -12.0824 -12.1684 -12.2565
-12.3727 -12.4951 -12.648 -12.8253 -13.0429 -13.3229 -13.6806 -14.1666
-14.9605 0 0 0 0 0 0 0 0;
#X coords 0 3 39 -25 200 140 1;
#X restore 537 -197 graph;
#X obj 545 -12 tabreceive~ spec;
#N canvas 0 0 450 300 graph2 0;
#X array coeffs 16 float 1;
#A 0 -7.61195 6.91986 -0.862916 -1.1367 0.969326 0.356439 -0.591196
0.176731 0.550556 -0.2713 -0.452582 0.172612 0.174087 -0.275808 -0.158789
0.189963;
#X coords 0 5 15 -5 200 140 1;
#X restore 538 135 graph;
#X obj 545 29 tabsend~ coeffs;
#N canvas 0 0 450 300 synth 0;
#X obj 42 130 osc~;
#X obj 41 167 outlet~;
#X obj 41 73 +~;
#X obj 42 101 *~;
#X obj 118 47 osc~ 880;
#X obj 42 49 osc~ 440;
#X obj 71 100 *~ 44;
#X obj 71 78 inlet;
#X connect 0 0 1 0;
#X connect 2 0 3 0;
#X connect 3 0 0 0;
#X connect 4 0 2 1;
#X connect 5 0 2 0;
#X connect 6 0 3 1;
#X connect 7 0 6 0;
#X restore 139 50 pd synth;
#X obj 138 -10 hsl 100 15 1 100 0 0 empty empty empty -2 -6 0 8 -262144
-1 -1 0 1;
#X obj 87 48 *~ 0.2;
#X obj 140 30 line;
#X msg 138 9 \$1 40;
#X text 82 -157 Uses melf~ to create a mel spaced filterbank so that
mel frequency cepstral coefficients can be generated. Requires zexy
and fct~;
#X connect 0 0 3 0;
#X connect 2 0 8 0;
#X connect 4 0 3 0;
#X connect 6 0 2 0;
#X connect 9 0 0 0;
#X connect 9 0 11 0;
#X connect 10 0 13 0;
#X connect 11 0 1 0;
#X connect 12 0 9 0;
#X connect 13 0 12 0;