-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindus.rb
76 lines (68 loc) · 1.54 KB
/
indus.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
use_debug false
use_bpm 180
goyave = load_sample "~/Documents/music/goyave.ogg"
kick = load_sample :bd_tek
hat = load_sample :hat_noiz
with_fx :nhpf, amp: 0.5 do
with_fx :krush do
with_fx :slicer do |slicer|
with_fx :reverb, room: 0.2 do
in_thread name: :screech do
7.times do
control slicer, mix: 0
sample hat
sample goyave, start: 0.5, rate: -1, pitch: 24
sleep 2
control slicer, mix: 1
sleep 6
end
end
end
end
end
end
with_fx :distortion, mix: 0.5 do
with_fx :tanh, mix: 0.5 do
with_fx :normaliser do
with_fx :reverb do |reverb|
in_thread name: :kick, delay: 8-1 do
(6*8+1).times do
control reverb, room: 1
sample kick
sleep 0.5
control reverb, room: 0
sample kick, on: (spread 1,8).tick
sleep 0.5
end
end
end
with_fx :lpf do
in_thread name: :scratch, delay: 3*8 do
(4*8).times do
sleep 0.5
sample hat, on: (knit 0,5,1,3).rotate.tick
sleep 0.5
end
end
end
end
end
end
with_fx :hpf, amp: 0.5 do
with_fx :gverb do
in_thread name: :hat, delay: 3*8 do
(4*8).times do
sleep 0.6
sample hat
sleep 0.4
end
end
end
in_thread name: :hat_roll, delay: 3*8 do
(4*8*4).times do
sleep 0.125
sample hat, on: !(spread 1,4).tick
sleep 0.125
end
end
end