-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathADT.h
138 lines (138 loc) · 8.23 KB
/
ADT.h
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
AudioSynthWaveform lfovco[9];
AudioSynthWaveform lfovcf[9];
AudioSynthWaveformModulated vco1[9];
AudioSynthWaveformModulated vco2[9];
AudioEffectMultiply mult[9];
AudioMixer4 mixvco[9];
AudioFilterStateVariable vcf[9];
AudioMixer4 mixvcf[9];
AudioEffectEnvelope ahdsr[9];
AudioMixer4 mix18;
AudioMixer4 mix58;
AudioMixer4 mix14;
AudioOutputI2S i2s1;
AudioConnection patchCord1(lfovco[1], 0, vco1[1], 0);
AudioConnection patchCord2(lfovco[1], 0, vco2[1], 0);
AudioConnection patchCord3(lfovcf[1], 0, vcf[1], 1);
AudioConnection patchCord4(lfovco[2], 0, vco1[2], 0);
AudioConnection patchCord5(lfovco[2], 0, vco2[2], 0);
AudioConnection patchCord6(lfovcf[2], 0, vcf[2], 1);
AudioConnection patchCord7(lfovco[3], 0, vco1[3], 0);
AudioConnection patchCord8(lfovco[3], 0, vco2[3], 0);
AudioConnection patchCord9(lfovcf[3], 0, vcf[3], 1);
AudioConnection patchCord10(lfovco[4], 0, vco1[4], 0);
AudioConnection patchCord11(lfovco[4], 0, vco2[4], 0);
AudioConnection patchCord12(lfovcf[4], 0, vcf[4], 1);
AudioConnection patchCord13(lfovco[5], 0, vco1[5], 0);
AudioConnection patchCord14(lfovco[5], 0, vco2[5], 0);
AudioConnection patchCord15(lfovcf[5], 0, vcf[5], 1);
AudioConnection patchCord16(lfovco[6], 0, vco1[6], 0);
AudioConnection patchCord17(lfovco[6], 0, vco2[6], 0);
AudioConnection patchCord18(lfovcf[6], 0, vcf[6], 1);
AudioConnection patchCord19(lfovco[7], 0, vco1[7], 0);
AudioConnection patchCord20(lfovco[7], 0, vco2[7], 0);
AudioConnection patchCord21(lfovcf[7], 0, vcf[7], 1);
AudioConnection patchCord22(lfovco[8], 0, vco1[8], 0);
AudioConnection patchCord23(lfovco[8], 0, vco2[8], 0);
AudioConnection patchCord24(lfovcf[8], 0, vcf[8], 1);
AudioConnection patchCord25(vco2[1], 0, mixvco[1], 1);
AudioConnection patchCord26(vco2[2], 0, mixvco[2], 1);
AudioConnection patchCord27(vco2[3], 0, mixvco[3], 1);
AudioConnection patchCord28(vco1[1], 0, mixvco[1], 0);
AudioConnection patchCord29(vco2[4], 0, mixvco[4], 1);
AudioConnection patchCord30(vco1[2], 0, mixvco[2], 0);
AudioConnection patchCord31(vco2[5], 0, mixvco[5], 1);
AudioConnection patchCord32(vco1[3], 0, mixvco[3], 0);
AudioConnection patchCord33(vco2[6], 0, mixvco[6], 1);
AudioConnection patchCord34(vco1[4], 0, mixvco[4], 0);
AudioConnection patchCord35(vco2[7], 0, mixvco[7], 1);
AudioConnection patchCord36(vco1[5], 0, mixvco[5], 0);
AudioConnection patchCord37(vco2[8], 0, mixvco[8], 1);
AudioConnection patchCord38(vco1[6], 0, mixvco[6], 0);
AudioConnection patchCord39(vco1[7], 0, mixvco[7], 0);
AudioConnection patchCord40(vco1[8], 0, mixvco[8], 0);
AudioConnection patchCord41(mixvco[1], 0, vcf[1], 0);
AudioConnection patchCord42(mixvco[1], 0, mixvcf[1], 0);
AudioConnection patchCord43(mixvco[2], 0, vcf[2], 0);
AudioConnection patchCord44(mixvco[2], 0, mixvcf[2], 0);
AudioConnection patchCord45(mixvco[3], 0, vcf[3], 0);
AudioConnection patchCord46(mixvco[3], 0, mixvcf[3], 0);
AudioConnection patchCord47(mixvco[4], 0, vcf[4], 0);
AudioConnection patchCord48(mixvco[4], 0, mixvcf[4], 0);
AudioConnection patchCord49(mixvco[5], 0, vcf[5], 0);
AudioConnection patchCord50(mixvco[5], 0, mixvcf[5], 0);
AudioConnection patchCord51(mixvco[6], 0, vcf[6], 0);
AudioConnection patchCord52(mixvco[6], 0, mixvcf[6], 0);
AudioConnection patchCord53(mixvco[7], 0, vcf[7], 0);
AudioConnection patchCord54(mixvco[7], 0, mixvcf[7], 0);
AudioConnection patchCord55(mixvco[8], 0, vcf[8], 0);
AudioConnection patchCord56(mixvco[8], 0, mixvcf[8], 0);
AudioConnection patchCord57(vcf[1], 0, mixvcf[1], 1);
AudioConnection patchCord58(vcf[1], 1, mixvcf[1], 2);
AudioConnection patchCord59(vcf[1], 2, mixvcf[1], 3);
AudioConnection patchCord60(vcf[2], 0, mixvcf[2], 1);
AudioConnection patchCord61(vcf[2], 1, mixvcf[2], 2);
AudioConnection patchCord62(vcf[2], 2, mixvcf[2], 3);
AudioConnection patchCord63(vcf[3], 0, mixvcf[3], 1);
AudioConnection patchCord64(vcf[3], 1, mixvcf[3], 2);
AudioConnection patchCord65(vcf[3], 2, mixvcf[3], 3);
AudioConnection patchCord66(vcf[4], 0, mixvcf[4], 1);
AudioConnection patchCord67(vcf[4], 1, mixvcf[4], 2);
AudioConnection patchCord68(vcf[4], 2, mixvcf[4], 3);
AudioConnection patchCord69(vcf[5], 0, mixvcf[5], 1);
AudioConnection patchCord70(vcf[5], 1, mixvcf[5], 2);
AudioConnection patchCord71(vcf[5], 2, mixvcf[5], 3);
AudioConnection patchCord72(vcf[6], 0, mixvcf[6], 1);
AudioConnection patchCord73(vcf[6], 1, mixvcf[6], 2);
AudioConnection patchCord74(vcf[6], 2, mixvcf[6], 3);
AudioConnection patchCord75(vcf[7], 0, mixvcf[7], 1);
AudioConnection patchCord76(vcf[7], 1, mixvcf[7], 2);
AudioConnection patchCord77(vcf[7], 2, mixvcf[7], 3);
AudioConnection patchCord78(vcf[8], 0, mixvcf[8], 1);
AudioConnection patchCord79(vcf[8], 1, mixvcf[8], 2);
AudioConnection patchCord80(vcf[8], 2, mixvcf[8], 3);
AudioConnection patchCord81(mixvcf[1], ahdsr[1]);
AudioConnection patchCord82(mixvcf[2], ahdsr[2]);
AudioConnection patchCord83(mixvcf[3], ahdsr[3]);
AudioConnection patchCord84(mixvcf[4], ahdsr[4]);
AudioConnection patchCord85(mixvcf[5], ahdsr[5]);
AudioConnection patchCord86(mixvcf[6], ahdsr[6]);
AudioConnection patchCord87(mixvcf[7], ahdsr[7]);
AudioConnection patchCord88(mixvcf[8], ahdsr[8]);
AudioConnection patchCord89(ahdsr[5], 0, mix58, 0);
AudioConnection patchCord90(ahdsr[8], 0, mix58, 3);
AudioConnection patchCord91(ahdsr[1], 0, mix14, 0);
AudioConnection patchCord92(ahdsr[2], 0, mix14, 1);
AudioConnection patchCord93(ahdsr[3], 0, mix14, 2);
AudioConnection patchCord94(ahdsr[4], 0, mix14, 3);
AudioConnection patchCord95(ahdsr[7], 0, mix58, 2);
AudioConnection patchCord96(ahdsr[6], 0, mix58, 1);
AudioConnection patchCord97(mix18, 0, i2s1, 0);
AudioConnection patchCord98(mix18, 0, i2s1, 1);
AudioConnection patchCord99(mix58, 0, mix18, 1);
AudioConnection patchCord100(mix14, 0, mix18, 0);
AudioConnection patchCord101(vco1[1], 0, mult[1], 0);
AudioConnection patchCord102(vco1[2], 0, mult[2], 0);
AudioConnection patchCord103(vco1[3], 0, mult[3], 0);
AudioConnection patchCord104(vco1[4], 0, mult[4], 0);
AudioConnection patchCord105(vco1[5], 0, mult[5], 0);
AudioConnection patchCord106(vco1[6], 0, mult[6], 0);
AudioConnection patchCord107(vco1[7], 0, mult[7], 0);
AudioConnection patchCord108(vco1[8], 0, mult[8], 0);
AudioConnection patchCord109(vco2[1], 0, mult[1], 1);
AudioConnection patchCord110(vco2[2], 0, mult[2], 1);
AudioConnection patchCord111(vco2[3], 0, mult[3], 1);
AudioConnection patchCord112(vco2[4], 0, mult[4], 1);
AudioConnection patchCord113(vco2[5], 0, mult[5], 1);
AudioConnection patchCord114(vco2[6], 0, mult[6], 1);
AudioConnection patchCord115(vco2[7], 0, mult[7], 1);
AudioConnection patchCord116(vco2[8], 0, mult[8], 1);
AudioConnection patchCord117(mult[1], 0, mixvco[1], 2);
AudioConnection patchCord118(mult[2], 0, mixvco[2], 2);
AudioConnection patchCord119(mult[3], 0, mixvco[3], 2);
AudioConnection patchCord120(mult[4], 0, mixvco[4], 2);
AudioConnection patchCord121(mult[5], 0, mixvco[5], 2);
AudioConnection patchCord122(mult[6], 0, mixvco[6], 2);
AudioConnection patchCord123(mult[7], 0, mixvco[7], 2);
AudioConnection patchCord124(mult[8], 0, mixvco[8], 2);
AudioControlSGTL5000 sgtl5000_1;