-
Notifications
You must be signed in to change notification settings - Fork 0
/
loop2.txt
58 lines (57 loc) · 1.74 KB
/
loop2.txt
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
# Welcome to Sonic Pi
use_bpm 77
in_thread do
live_loop :kicker do
sample :drum_heavy_kick, cutoff: 93
sleep 1
sleep 1
sample :drum_heavy_kick, cutoff: 93
sleep 1
sleep 1
end
in_thread do
live_loop :snareer do
sleep 1
sample :drum_snare_hard, cutoff: 109, amp: 0.65
sleep 1
sleep 1
sample :drum_snare_hard, cutoff: 109, amp: 0.65
sleep 1
end
live_loop :bass do
note_name = choose([note_range :c2, :c3, pitches: (chord :c, :minor7)])
play rrand(note_name
sleep 0.25
note_name = choose(note_range :c2, :c3, pitches: (chord :c, :minor7))
play note_name
sleep 0.75
note_name = choose(note_range :c2, :c3, pitches: (chord :c, :minor7))
play note_name
sleep 0.5
note_name = choose(note_range :c2, :c3, pitches: (chord :c, :minor7))
play note_name
sleep 0.5
note_name = choose(note_range :c2, :c3, pitches: (chord :c, :minor7))
play note_name
sleep 0.25
note_name = choose(note_range :c2, :c3, pitches: (chord :c, :minor7))
play note_name
sleep 0.75
note_name = choose(note_range :c2, :c3, pitches: (chord :c, :minor7))
play note_name
sleep 0.25
note_name = choose(note_range :c2, :c3, pitches: (chord :c, :minor7))
play note_name
sleep 0.125
note_name = choose(note_range :c2, :c3, pitches: (chord :c, :minor7))
play note_name
sleep 0.125
note_name = choose(note_range :c2, :c3, pitches: (chord :c, :minor7))
play note_name
sleep 0.25
note_name = choose(note_range :c2, :c3, pitches: (chord :c, :minor7))
play note_name
sleep 0.25
end
end
end