-
Notifications
You must be signed in to change notification settings - Fork 0
/
calculoEspectro.pd
37 lines (37 loc) · 993 Bytes
/
calculoEspectro.pd
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
#N canvas 523 421 739 488 10;
#X declare -lib windowing;
#X obj 137 46 inlet~;
#X obj 356 47 inlet;
#X text 139 25 Sinal;
#X obj 395 136 block~;
#X msg 395 109 set \$1 1 1;
#X text 348 26 Tamanho da Janela (N amostras);
#X obj 138 223 rfft~;
#X obj 534 88 import windowing;
#X obj 211 383 atan2~;
#X text 184 364 Espectro de Fase;
#X text 485 70 Precisa disso para [hamming~] funcionar;
#X obj 137 299 expr~ sqrt(($v1*$v1) + ($v2*$v2))/$f3;
#X text 141 315 Espectro de Magnitude (normalizado);
#X obj 137 411 outlet~;
#X obj 212 413 outlet~;
#X obj 306 409 outlet;
#X obj 306 378 pitchtracker;
#X text 290 432 Freq Fundamental;
#X obj 138 150 hamming~;
#X obj 356 79 t f f f;
#X connect 0 0 18 0;
#X connect 1 0 19 0;
#X connect 4 0 3 0;
#X connect 6 0 11 0;
#X connect 6 0 8 1;
#X connect 6 1 11 1;
#X connect 6 1 8 0;
#X connect 8 0 14 0;
#X connect 11 0 13 0;
#X connect 11 0 16 0;
#X connect 16 0 15 0;
#X connect 18 0 6 0;
#X connect 19 0 11 2;
#X connect 19 1 16 1;
#X connect 19 2 4 0;