-
Notifications
You must be signed in to change notification settings - Fork 4
/
karmaNotes.pd
92 lines (92 loc) · 2.7 KB
/
karmaNotes.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
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
#N canvas 72 22 1102 607 10;
#X floatatom 295 219 5 0 0 0 - - -, f 5;
#X obj 216 170 sigmund~ -npeak 7 pitch notes env tracks;
#X obj 216 80 inlet~ audioL;
#X obj 319 80 inlet~ audioR;
#X obj 453 212 route 6 5 4 3 2 1 0, f 40;
#X obj 61 28 cnv 15 108 60 empty empty Notes 12 8 0 12 -191407 -66577
0;
#X obj 64 45 vsl 8 40 0 1 0 0 empty fft_1 empty 0 -9 0 10 -1 -261681
-1 575 1;
#X obj 80 45 vsl 8 40 0 1 0 0 empty fft_2 empty 0 -9 0 10 -1 -261681
-1 964 1;
#X obj 96 45 vsl 8 40 0 1 0 0 empty fft_3 empty 0 -9 0 10 -1 -261681
-1 1246 1;
#X obj 112 45 vsl 8 40 0 1 0 0 empty fft_4 empty 0 -9 0 10 -64 -261681
-1 89 1;
#X obj 127 45 vsl 8 40 0 1 0 0 empty fft_5 empty 0 -9 0 10 -3 -261681
-1 3900 1;
#X obj 143 45 vsl 8 40 0 1 0 0 empty fft_6 empty 0 -9 0 10 -1 -261681
-1 3900 1;
#X obj 159 45 vsl 8 40 0 1 0 0 empty fft_7 empty 0 -9 0 10 -1 -261681
-1 3900 1;
#X obj 18 412 i 2048;
#X text 26 393 FFT Amp scale;
#X obj 18 373 loadbang;
#X text 720 213 Each sine track: ID \, Freq (Hz) \, Amplitude \, Flag
;
#X text 585 137 Packs 7 detected notes;
#X text 583 156 Also adapts their value \, scale and resamples them.
;
#X obj 216 287 outlet pitch;
#X obj 295 287 outlet note;
#X obj 374 287 outlet amp;
#X obj 453 81 inlet on_off;
#X obj 656 234 km_sin_track_osc 1;
#X obj 453 430 outlet note1;
#X obj 539 430 outlet note2;
#X obj 624 430 outlet note3;
#X obj 707 430 outlet note4;
#X obj 794 430 outlet note5;
#X obj 880 430 outlet note6;
#X obj 972 430 outlet note7;
#X obj 554 300 km_sin_track_osc 4;
#X obj 453 277 km_sin_track_osc 7;
#X obj 486 256 km_sin_track_osc 6;
#X obj 520 234 km_sin_track_osc 5;
#X obj 622 256 km_sin_track_osc 2;
#X obj 588 278 km_sin_track_osc 3;
#X obj 12 44 nbx 2 14 -1e+37 1e+37 0 0 empty empty Pitch 0 -8 0 10
-262144 -1 -1 30 256;
#X obj 216 198 max 0;
#X obj 42 40 vsl 15 45 0 1 0 0 empty empty Amp 0 -9 0 10 -262144 -1
-1 1062 1;
#X obj 12 74 nbx 2 14 -1e+37 1e+37 0 0 empty empty Note 0 -8 0 10 -262144
-1 -1 34 256;
#X obj 374 197 dbtorms;
#X obj 374 222 max 0;
#X obj 374 245 min 1;
#X obj 295 254 i;
#X obj 216 229 i;
#X connect 0 0 44 0;
#X connect 1 0 38 0;
#X connect 1 1 0 0;
#X connect 1 2 41 0;
#X connect 1 3 4 0;
#X connect 2 0 1 0;
#X connect 3 0 1 0;
#X connect 4 0 32 0;
#X connect 4 1 33 0;
#X connect 4 2 34 0;
#X connect 4 3 31 0;
#X connect 4 4 36 0;
#X connect 4 5 35 0;
#X connect 4 6 23 0;
#X connect 15 0 13 0;
#X connect 23 0 24 0;
#X connect 31 0 27 0;
#X connect 32 0 30 0;
#X connect 33 0 29 0;
#X connect 34 0 28 0;
#X connect 35 0 25 0;
#X connect 36 0 26 0;
#X connect 38 0 45 0;
#X connect 41 0 42 0;
#X connect 42 0 43 0;
#X connect 43 0 21 0;
#X connect 43 0 39 0;
#X connect 44 0 20 0;
#X connect 44 0 40 0;
#X connect 45 0 19 0;
#X connect 45 0 37 0;
#X coords 0 -1 1 1 160 80 1 10 10;