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
|
#bps = 0.461538462
##120 BPM
bps = 0.5
#keys to switch between
key = [:E4, :Gb4]
##mode
feel = :minor_pentatonic
#second key (switch to make the other key go first)
root = 1
live_loop :beat do
vol = 0.7
toms = [:drum_tom_hi_soft, :drum_tom_hi_hard, :drum_tom_mid_soft, :drum_tom_mid_hard, :drum_tom_lo_soft, :drum_tom_lo_hard]
30.times do
sample :drum_bass_soft, amp: vol
sleep bps/4
sleep bps/4
sample :drum_cymbal_closed, amp: vol
sleep bps/4
sample :drum_cymbal_closed, amp: vol
sleep bps/4
end
sample :drum_bass_soft
8.times do
sample choose(toms), amp: rrand(0.3, 0.9)
sleep bps/4
end
sample "~/Desktop/algorythmic/old+new/crash.wav"
end
live_loop :keychange do
if root == 1
root = 0
else
root = 1
end
sleep bps*32
end
live_loop :dots do
with_fx :echo, mix: 0.3 do
2.times do
play scale(key[root], feel)[3], amp: 0.5, release: 0.1
sleep bps
play scale(key[root], feel)[2], amp: 0.5, release: 0.1
sleep bps
play scale(key[root], feel)[1], amp: 0.5, release: 0.1
sleep bps/4
play scale(key[root], feel)[0], amp: 0.5, release: 0.1
sleep bps/4
sleep bps/4
play scale(key[root], feel)[0], amp: 0.5, release: 0.1
sleep bps
play scale(key[root], feel)[0], amp: 0.5, release: 0.1
sleep bps/4
play scale(key[root], feel)[1], amp: 0.5, release: 0.1
sleep bps/4
sleep bps/4
play scale(key[root], feel)[0], amp: 0.5, release: 0.1
sleep bps/4
play scale(key[root], feel)[1], amp: 0.5, release: 0.1
sleep bps/4
sleep bps/4
play scale(key[root], feel)[2], amp: 0.5, release: 0.1
sleep bps/2
play scale(key[root], feel)[3], amp: 0.5, release: 0.1
sleep bps
sleep bps/2
sleep bps/4
play scale(key[root], feel)[0], amp: 0.5, release: 0.1
sleep bps/2
play scale(key[root], feel)[3], amp: 0.5, release: 0.1
sleep bps
play scale(key[root], feel)[2], amp: 0.5, release: 0.1
sleep bps
play scale(key[root], feel)[1], amp: 0.5, release: 0.1
sleep bps/4
play scale(key[root], feel)[0], amp: 0.5, release: 0.1
sleep bps/4
sleep bps/4
play scale(key[root], feel)[0], amp: 0.5, release: 0.1
sleep bps
play scale(key[root], feel)[0], amp: 0.5, release: 0.1
sleep bps/4
play scale(key[root], feel)[1], amp: 0.5, release: 0.1
sleep bps/4
sleep bps/4
play scale(key[root], feel)[0], amp: 0.5, release: 0.1
sleep bps/4
play scale(key[root], feel)[1], amp: 0.5, release: 0.1
sleep bps/4
sleep bps/4
play scale(key[root], feel)[2], amp: 0.5, release: 0.1
sleep bps/2
play scale(key[root], feel)[0], amp: 0.5, release: 0.1
sleep bps
sleep bps/2
sleep bps/4
play scale(key[root], feel)[0], amp: 0.5, release: 0.1
sleep bps/2
end
end
end
live_loop :bass do
vol = 0.9
use_synth :chipbass
with_fx :lpf, cutoff: 80 do
with_fx :ring_mod, freq: 30 do
with_octave -2 do
play scale(key[root], feel)[0], amp: vol, release: 0.2
sleep bps
play scale(key[root], feel)[0], amp: vol, release: 0.2
sleep bps
play scale(key[root], feel)[0], amp: vol, release: 0.2
sleep bps
sleep bps*3/4
play scale(key[root], feel)[0], amp: vol, release: 0.2
sleep bps/4
play scale(key[root], feel)[1], amp: vol, release: 0.2
sleep bps/4
sleep bps/4
play scale(key[root], feel)[0], amp: vol, release: 0.2
sleep bps/4
play scale(key[root], feel)[1], amp: vol, release: 0.2
sleep bps/4
sleep bps/4
play scale(key[root], feel)[2], amp: vol, release: 0.2
sleep bps/2
play scale(key[root], feel)[3], amp: vol, release: 0.2
sleep bps
play scale(key[root], feel)[0], amp: vol, release: 0.2
sleep bps/4
play scale(key[root], feel)[1], amp: vol, release: 0.2
sleep bps/4
play scale(key[root], feel)[0], amp: vol, release: 0.2
sleep bps/4
play scale(key[root], feel)[0], amp: vol, release: 0.2
sleep bps/2
play scale(key[root], feel)[0], amp: vol, release: 0.2
sleep bps
play scale(key[root], feel)[0], amp: vol, release: 0.2
sleep bps
play scale(key[root], feel)[0], amp: vol, release: 0.2
sleep bps
sleep bps*3/4
play scale(key[root], feel)[0], amp: vol, release: 0.2
sleep bps/4
play scale(key[root], feel)[1], amp: vol, release: 0.2
sleep bps/4
sleep bps/4
play scale(key[root], feel)[0], amp: vol, release: 0.2
sleep bps/4
play scale(key[root], feel)[1], amp: vol, release: 0.2
sleep bps/4
sleep bps/4
play scale(key[root], feel)[2], amp: vol, release: 0.2
sleep bps/2
play scale(key[root], feel)[0], amp: vol, release: 0.2
sleep bps
play scale(key[root], feel)[0], amp: vol, release: 0.2
sleep bps/4
play scale(key[root], feel)[1], amp: vol, release: 0.2
sleep bps/4
play scale(key[root], feel)[0], amp: vol, release: 0.2
sleep bps/4
play scale(key[root], feel)[0], amp: vol, release: 0.2
sleep bps/2
end
end
end
end
|