-
Notifications
You must be signed in to change notification settings - Fork 23
/
Copy pathtune_cheeky_drat.rb
210 lines (171 loc) · 3.48 KB
/
tune_cheeky_drat.rb
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
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
#
# -)= Cheeky Drat (=-
# composed by freQvibez
# [within TextMate]
# exclusively for _why's BloopSaphone
#
# from Farbrausch with ♥
#
require './bloops'
b = Bloops.new
b.tempo = 172
bass = b.sound Bloops::SQUARE
bass.volume = 0.4
bass.sustain = 0.1
bass.attack = 0.1
bass.decay = 0.3
base = b.sound Bloops::SQUARE
base.volume = 0.35
base.punch = 0.3
base.sustain = 0.1
base.decay = 0.3
base.phase = 0.2
base.lpf = 0.115
base.resonance = 0.55
base.slide = -0.4
snare = b.sound Bloops::NOISE
snare.attack = 0.075
snare.sustain = 0.01
snare.decay = 0.33
snare.hpf = 0.55
snare.resonance = 0.44
snare.dslide = -0.452
chord = b.sound Bloops::SQUARE
chord.volume = 0.275
chord.attack = 0.05
chord.sustain = 0.6
chord.decay = 0.9
chord.phase = 0.35
chord.psweep = -0.25
chord.vibe = 0.0455
chord.vspeed = 0.255
lead = b.sound Bloops::SINE
lead.volume = 0.45
lead.attack = 0.3
lead.sustain = 0.15
lead.decay = 0.8
lead.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