-
Notifications
You must be signed in to change notification settings - Fork 1
/
workspace_one.spi
48 lines (45 loc) · 1.14 KB
/
workspace_one.spi
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
<<<<<<< HEAD
live_loop :chordsit do
tick
puts note_inspect(ring
chord(:Fs4, :minor),
chord(:Cs5, :minor),
chord(:B4, :M),
chord(:D5, :M)).look
n = (ring
[chord(:Fs4, :minor),0.5],
[chord(:Cs5, :minor),0.5],
[chord(:B4, :M),1], #should be minor... D=> D#
[chord(:D5, :M, invert: -1),0.5],
[chord(:D5, :M),0.25])
with_transpose 0 do
synth :dark_ambience, note: n.look[0], amp: 1.0, decay: n.look[-1]
end
play (ring :Fs2, :Cs2, :B1, :D2, :E2).look, decay: n.look[-1]/2.0, amp: 0.25
sleep n.look[-1]
=======
live_loop :harp, sync: :metro do
tick;s=nil
3.times{
s = (knit
[:A3, 3],1, [:Cs3, 3],1, [:E3, 3],1,
).tick(:no)
harp s, (ring 20,20,20, 30,40,40, 40,60,80).look
sleep s[1]
}
end
live_loop :bass, sync: :metro do
tick
bass (ring :a2, :cs3, :e3).look, 100, sustain: 6
sleep 6
end
live_loop :soft, sync: :metro do
tick
s = nil
3.times{
s = (knit [:A3,12],1, [:Cs4,12],1, [:E4,12],1, [_,12],1, [_,12],1).tick(:no)
sharp s, (ring 30).look
sleep s[1]
}
>>>>>>> 6fab41b
end