-
Notifications
You must be signed in to change notification settings - Fork 1
/
synth.rtf
172 lines (171 loc) · 8.06 KB
/
synth.rtf
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
{\rtf1\ansi\ansicpg932\cocoartf1138\cocoasubrtf320
{\fonttbl\f0\fnil\fcharset128 HiraKakuProN-W3;}
{\colortbl;\red255\green255\blue255;\red0\green0\blue191;\red0\green115\blue0;\red191\green0\blue0;
}
\deftab560
\pard\pardeftab560\sl280
\f0\fs24 \cf0 (\
\cf2 SynthDef\cf0 (\cf3 \\SinKick\cf0 , \{\
\cf2 arg\cf0 freq = 440, gate = 0.1, amp = 0.5, source, pan = 0.0;\
source = \cf2 Pan2\cf0 .ar(\
\cf2 SinOsc\cf0 .ar(\cf2 EnvGen\cf0 .kr(\cf2 Env\cf0 .adsr(0, 1, 0, 0, 1, -20), gate, freq, 0, 0.5, 2), 1, 1)\
* \cf2 EnvGen\cf0 .kr(\cf2 Env\cf0 .perc(0, 0.1, 1, 8));\
);\
\cf2 Out\cf0 .ar(0, source);\
\}).store;\
\
\cf2 SynthDef\cf0 (\cf3 \\SawKick\cf0 , \{\
\cf2 arg\cf0 freq = 440, gate = 0.1, amp = 0.5, source, pan = 0.0;\
source = \cf2 Pan2\cf0 .ar(\
\cf2 Saw\cf0 .ar(\cf2 EnvGen\cf0 .kr(\cf2 Env\cf0 .adsr(0, 1, 0, 0, 1, -20), gate, freq, 0, 0.5, 2), 1, 1)\
* \cf2 EnvGen\cf0 .kr(\cf2 Env\cf0 .perc(0, 0.1, 1, 8));\
);\
\cf2 Out\cf0 .ar(0, source);\
\}).store;\
\
\cf2 SynthDef\cf0 (\cf3 \\FSinKick\cf0 , \{\
\cf2 arg\cf0 freq = 440, gate = 0.1, amp = 0.5, source, pan = 0.0;\
source = \cf2 Pan2\cf0 .ar(\
\cf2 FSinOsc\cf0 .ar(\cf2 EnvGen\cf0 .kr(\cf2 Env\cf0 .adsr(0, 1, 0, 0, 1, -20), gate, freq, 0, 0.5, 2), 1, 1)\
* \cf2 EnvGen\cf0 .kr(\cf2 Env\cf0 .perc(0, 0.1, 1, 8));\
);\
\cf2 Out\cf0 .ar(0, source);\
\}).store;\
\
\cf2 SynthDef\cf0 (\cf3 \\SquareKick\cf0 , \{\
\cf2 arg\cf0 freq = 440, gate = 0.1, amp = 0.5, source, pan = 0.0;\
source = \cf2 Pan2\cf0 .ar(\
\cf2 Pulse\cf0 .ar(\cf2 EnvGen\cf0 .kr(\cf2 Env\cf0 .adsr(0, 1, 0, 0, 1, -20), gate, freq, 0, 0.5, 2), 0.5, 1, 1)\
* \cf2 EnvGen\cf0 .kr(\cf2 Env\cf0 .perc(0, 0.1, 1, 8));\
);\
\cf2 Out\cf0 .ar(0, source);\
\}).store;\
\
\pard\pardeftab560\sl280
\cf4 //distortion\cf0 \
\
\cf2 SynthDef\cf0 (\cf3 \\FSinKick_dist\cf0 , \{\
\cf2 arg\cf0 freq = 440, gate = 0.1, amp = 0.5, source, pan = 0.0;\
source = \cf2 Pan2\cf0 .ar(\
\cf2 FSinOsc\cf0 .ar(\cf2 EnvGen\cf0 .kr(\cf2 Env\cf0 .adsr(0, 1, 0, 0, 1, -20), gate, freq, 0, 0.5, 2), 1, 1).distort * \cf2 Line\cf0 .kr(2, 0, 0.9)\
* \cf2 EnvGen\cf0 .kr(\cf2 Env\cf0 .perc(0, 0.1, 1, 8));\
);\
\cf2 Out\cf0 .ar(0, source);\
\}).store;\
\
\cf4 //+noise\cf0 \
\
\cf2 SynthDef\cf0 (\cf3 \\FSinKick_noise\cf0 , \{\
\cf2 arg\cf0 freq = 440, gate = 0.1, amp = 0.5, source, pan = 0.0;\
source = \cf2 Pan2\cf0 .ar(\
\cf2 FSinOsc\cf0 .ar(\cf2 EnvGen\cf0 .kr(\cf2 Env\cf0 .adsr(0, 1, 0, 0, 1, -20), gate, freq, 0, 0.5, 2), 1, 1).distort * \cf2 Line\cf0 .kr(2, 0, 0.9)\
+ \cf2 LFNoise0\cf0 .ar(freq * 6, 0.01, amp)\
* \cf2 EnvGen\cf0 .kr(\cf2 Env\cf0 .perc(0, 0.1, 1, 8));\
);\
\cf2 Out\cf0 .ar(0, source);\
\}).store;\
\
\
\cf4 //+ saw\cf0 \
\
\cf2 SynthDef\cf0 (\cf3 \\FSinKick_saw\cf0 , \{\
\cf2 arg\cf0 freq = 440, gate = 0.1, amp = 0.5, source, pan = 0.0;\
source = \cf2 Pan2\cf0 .ar(\
\cf2 FSinOsc\cf0 .ar(\cf2 EnvGen\cf0 .kr(\cf2 Env\cf0 .adsr(0, 1, 0, 0, 1, -20), gate, freq, 0, 0.5, 2), 1, 0.5).distort * \cf2 Line\cf0 .kr(2, 0, 0.9)\
+ \cf2 Saw.ar\cf0 (freq * 2, 0.0025, 0.25)\
+ \cf2 LFNoise0\cf0 .ar(freq * 6, 0.01, amp)\
* \cf2 EnvGen\cf0 .kr(\cf2 Env\cf0 .perc(0, 0.1, 1, 8));\
);\
\cf2 Out\cf0 .ar(0, source);\
\}).store;\
\
\
\cf4 //+ square\cf0 \
\
\cf2 SynthDef\cf0 (\cf3 \\FSinKick_square\cf0 , \{\
\cf2 arg\cf0 freq = 440, gate = 0.1, amp = 0.5, source, pan = 0.0;\
source = \cf2 Pan2\cf0 .ar(\
\cf2 FSinOsc\cf0 .ar(\cf2 EnvGen\cf0 .kr(\cf2 Env\cf0 .adsr(0, 1, 0, 0, 1, -20), gate, freq, 0, 0.5, 2), 1, 0.5).distort * \cf2 Line\cf0 .kr(2, 0, 0.9)\
+ \cf2 Pulse\cf0 .ar(\cf2 EnvGen\cf0 .kr(\cf2 Env\cf0 .adsr(0, 1, 0, 0, 1, -20), gate, freq, 0, 0.5, 2), 0.5, 0.03, 0.5)\
+ \cf2 Saw.ar\cf0 (freq * 2, 0.0025, 0.25)\
+ \cf2 LFNoise0\cf0 .ar(freq * 6, 0.01, amp)\
* \cf2 EnvGen\cf0 .kr(\cf2 Env\cf0 .perc(0, 0.1, 1, 8));\
);\
\cf2 Out\cf0 .ar(0, source);\
\}).store;\
\
\cf4 //+ high\cf0 \
\
\cf2 SynthDef\cf0 (\cf3 \\FSinKick_high\cf0 , \{\
\cf2 arg\cf0 freq = 440, gate = 0.1, amp = 0.5, source, pan = 0.0;\
source = \cf2 Pan2\cf0 .ar(\
\cf2 FSinOsc\cf0 .ar(\cf2 EnvGen\cf0 .kr(\cf2 Env\cf0 .adsr(0, 1, 0, 0, 1, -20), gate, freq, 0, 0.5, 2), 1, 0.5).distort * \cf2 Line\cf0 .kr(2, 0, 0.9)\
+ \cf2 Pulse\cf0 .ar(\cf2 EnvGen\cf0 .kr(\cf2 Env\cf0 .adsr(0, 1, 0, 0, 1, -20), gate, freq, 0, 0.5, 2), 0.5, 0.03, 0.1)\
+ \cf2 Saw.ar\cf0 (freq * 2, 0.0025, 0.25)\
+ \cf2 LFNoise0\cf0 .ar(freq * 8, 0.01, 0.05)\
* \cf2 EnvGen\cf0 .kr(\cf2 Env\cf0 .perc(0, 0.1, 1, 8));\
);\
\cf2 Out\cf0 .ar(0, source);\
\}).store;\
\
\cf4 //+ high++\cf0 \
\
\cf2 SynthDef\cf0 (\cf3 \\FSinKick_high_saw\cf0 , \{\
\cf2 arg\cf0 freq = 440, gate = 0.1, amp = 0.5, source, pan = 0.0;\
source = \cf2 Pan2\cf0 .ar(\
\cf2 FSinOsc\cf0 .ar(\cf2 EnvGen\cf0 .kr(\cf2 Env\cf0 .adsr(0, 1, 0, 0, 1, -20), gate, freq, 0, 0.5, 2), 1, 0.5).distort * \cf2 Line\cf0 .kr(2, 0, 0.9)\
+ \cf2 Saw\cf0 .ar(\cf2 EnvGen\cf0 .kr(\cf2 Env\cf0 .adsr(0, 1, 0, 0, 1, -20), gate, freq, 0, 0.2, 2), 0.5, 0.05).distort * \cf2 Line\cf0 .kr(-2, 0, 0.5)\
+ \cf2 Pulse\cf0 .ar(\cf2 EnvGen\cf0 .kr(\cf2 Env\cf0 .adsr(0, 1, 0, 0, 1, -20), gate, freq, 0, 0.5, 2), 0.5, 0.03, 0.1)\
+ \cf2 Saw.ar\cf0 (freq * 2, 0.0025, 0.25)\
+ \cf2 LFNoise0\cf0 .ar(freq * 8, 0.01, 0.05)\
* \cf2 EnvGen\cf0 .kr(\cf2 Env\cf0 .perc(0, 0.1, 1, 8));\
);\
\cf2 Out\cf0 .ar(0, source);\
\}).store;\
\
\cf4 //+ release\cf0 \
\
\cf2 SynthDef\cf0 (\cf3 \\FSinKick_release\cf0 , \{\
\cf2 arg\cf0 freq = 440, gate = 0.1, amp = 0.5, source, pan = 0.0;\
source = \cf2 Pan2\cf0 .ar(\
\cf2 FSinOsc\cf0 .ar(\cf2 EnvGen\cf0 .kr(\cf2 Env\cf0 .adsr(0, 1, 0, 0, 1, -20), gate, freq, 0, 0.5, 2), 1, 0.5).distort * \cf2 Line\cf0 .kr(2, 0, 0.9)\
+ \cf2 Saw\cf0 .ar(\cf2 EnvGen\cf0 .kr(\cf2 Env\cf0 .adsr(0, 0.5, 0, 0, 1, -20), gate, freq, 0, 0.2, 2), 0.5, 0.005).distort * \cf2 Line\cf0 .kr(-2, 0, 0.5)\
+ \cf2 Pulse\cf0 .ar(\cf2 EnvGen\cf0 .kr(\cf2 Env\cf0 .adsr(0, 1, 0, 0, 1, -20), gate, freq, 0, 0.5, 2), 0.5, 0.03, 0.1)\
+ \cf2 Saw.ar\cf0 (freq * 2, 0.0025, 0.25)\
+ \cf2 LFNoise0\cf0 .ar(freq * 8, 0.01, 0.05)\
* \cf2 EnvGen\cf0 .kr(\cf2 Env\cf0 .perc(0, 0.3, 1, 8));\
);\
\cf2 Out\cf0 .ar(0, source);\
\}).store;\
\
\cf4 //+ noise\cf0 \
\
\cf2 SynthDef\cf0 (\cf3 \\FSinKick_noise2\cf0 , \{\
\cf2 arg\cf0 freq = 440, gate = 0.1, amp = 0.5, source, pan = 0.0;\
source = \cf2 Pan2\cf0 .ar(\
\cf2 FSinOsc\cf0 .ar(\cf2 EnvGen\cf0 .kr(\cf2 Env\cf0 .adsr(0, 1, 0, 0, 1, -20), gate, freq, 0, 0.5, 2), 1, 0.5).distort * \cf2 Line\cf0 .kr(2, 0, 0.9)\
+ \cf2 Saw\cf0 .ar(\cf2 EnvGen\cf0 .kr(\cf2 Env\cf0 .adsr(0, 0.5, 0, 0, 1, -20), gate, freq, 0, 0.2, 2), 0.5, 0.005).distort * \cf2 Line\cf0 .kr(-2, 0, 0.5)\
+ \cf2 Pulse\cf0 .ar(\cf2 EnvGen\cf0 .kr(\cf2 Env\cf0 .adsr(0, 1, 0, 0, 1, -20), gate, freq, 0, 0.5, 2), 0.5, 0.03, 0.1)\
+ \cf2 LFNoise0\cf0 .ar(\cf2 EnvGen\cf0 .kr(\cf2 Env\cf0 .perc(0, 20, 1, 100)), 1, 1)\
* \cf2 EnvGen\cf0 .kr(\cf2 Env\cf0 .perc(0, 0.1, 1, 12));\
);\
\cf2 Out\cf0 .ar(0, source);\
\}).store;\
\
\cf4 //+ Kick!!!!!!\cf0 \
\
\cf2 SynthDef\cf0 (\cf3 \\FSinKick_last\cf0 , \{\
\cf2 arg\cf0 freq = 440, gate = 0.1, amp = 0.5, source, pan = 0.0;\
source = \cf2 Pan2\cf0 .ar(\
\cf2 FSinOsc\cf0 .ar(\cf2 EnvGen\cf0 .kr(\cf2 Env\cf0 .adsr(0, 1, 0, 0, 1, -20), gate, freq, 0, 0.5, 2), 1, 0.1).distort * \cf2 Line\cf0 .kr(2, 0, 0.9)\
+ \cf2 FSinOsc\cf0 .ar(\cf2 EnvGen\cf0 .kr(\cf2 Env\cf0 .adsr(0, 1, 0, 0, 1, -20), gate, freq / 2, 0, 0.5, 2), 1, 0.1).distort * \cf2 Line\cf0 .kr(2, 0, 0.9)\
+ \cf2 FSinOsc\cf0 .ar(\cf2 EnvGen\cf0 .kr(\cf2 Env\cf0 .adsr(0, 1, 0, 0, 1, -20), gate, freq * 2, 0, 0.5, 2), 1, 0.05).distort * \cf2 Line\cf0 .kr(2, 0, 0.9)\
+ \cf2 Saw\cf0 .ar(\cf2 EnvGen\cf0 .kr(\cf2 Env\cf0 .adsr(0, 1, 0, 0, 1, -20), gate, freq, 0, 0.2, 2), 0.5, 0.05).distort * \cf2 Line\cf0 .kr(-2, 0, 0.5)\
+ \cf2 Pulse\cf0 .ar(\cf2 EnvGen\cf0 .kr(\cf2 Env\cf0 .adsr(0, 1, 0, 0, 1, -20), gate, freq, 0, 0.5, 2), 0.5, 0.03, 0.1)\
+ \cf2 Saw.ar\cf0 (freq * 2, 0.0025, 0.25)\
+ \cf2 LFNoise0\cf0 .ar(freq * 8, 0.005, 0.05)\
* \cf2 EnvGen\cf0 .kr(\cf2 Env\cf0 .perc(0, 0.12, 1, 8));\
);\
\cf2 Out\cf0 .ar(0, source);\
\}).store;\
)}