-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstrangerThings.rb
69 lines (61 loc) · 1.25 KB
/
strangerThings.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
# Stranger Things theme
use_bpm 83
in_thread do
50.times do
with_fx :flanger do
with_fx :reverb do
use_synth :blade
play_pattern_timed [:c2, :e2, :g2, :b2, :c3, :b2, :g2, :e2], 0.25, amp: 0.75
end
end
end
end
in_thread do
96.times do
sample :bd_fat, amp: 3
sleep 0.25
sample :bd_fat, amp: 3
sleep 0.75
end
end
sleep 32
in_thread do
2.times do
with_fx :flanger do
with_fx :reverb do
use_synth :dsaw
play_chord [:c2, :c3], release: 6, amp: 2
sleep 6
play_chord [:d2, :d3], release: 1.5, amp: 2
sleep 1.5
play_chord [:e2, :e3], release: 6, amp: 2
sleep 6.5
play_chord [:g2, :g3], release: 1.5, amp: 2
sleep 1.5
play_chord [:c2, :c3], release: 6, amp: 1.25
sleep 6.5
play_chord [:d2, :d3], release: 1.5, amp: 1.25
sleep 1.5
play_chord [:b1, :b2], release: 8, amp: 1.25
sleep 8.5
end
end
end
end
sleep 32
in_thread do
2.times do
with_fx :reverb do
use_synth :tech_saws
sleep 1
play_chord [:g4, :g5], release: 5, amp: 1.5
sleep 15
end
end
end
with_fx :flanger do
with_fx :reverb do
use_synth :blade
play :e1, decay: 4
end
end